Skip to content

Updated the description on how to update a delegation during a signing #1040

Updated the description on how to update a delegation during a signing

Updated the description on how to update a delegation during a signing #1040

Workflow file for this run

#
# Copyright 2022 The Sigstore Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Cosign tests
on:
workflow_dispatch:
push:
paths:
- 'repository/**'
pull_request:
jobs:
validate:
env:
COSIGN_EXPERIMENTAL: "true"
runs-on: ubuntu-latest
steps:
# Install cosign
- uses: sigstore/cosign-installer@11086d25041f77fe8fe7b9ea4e48e3b9192b8f19 # v3.1.2
# Set up a repository server with python
- uses: actions/setup-python@2c3dd9e7e29afd70cc0950079bde6c979d1f69f9 # v4.3.1
with:
python-version: '3.x'
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
fetch-depth: 2
- run: |
cd repository/repository/
python -m http.server 8001 &
echo "REPO=http://localhost:8001" >> $GITHUB_ENV
# Test cosign initialize
- name: cosign initialize on published repository
run: cosign initialize --mirror http://localhost:8001