build(deps): Bump github.com/sigstore/sigstore from 1.7.4 to 1.7.5 #3097
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Copyright 2021 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: CI-Validate-Release-Job | |
on: | |
push: | |
branches: | |
- main | |
- 'release-**' | |
pull_request: | |
permissions: {} | |
jobs: | |
check-signature: | |
runs-on: ubuntu-latest | |
container: | |
image: gcr.io/projectsigstore/cosign:v2.2.0@sha256:280b47054876d415f66a279e666e35157cae6881f3538599710290c70bb75369 | |
steps: | |
- name: Check Signature | |
run: | | |
cosign verify ghcr.io/gythialy/golang-cross:v1.21.3-0@sha256:6e2c885532ad276195d3e3f269055fb2742c8963b231d097c467758dd425a632 \ | |
--certificate-oidc-issuer https://token.actions.githubusercontent.com \ | |
--certificate-identity "https://github.com/gythialy/golang-cross/.github/workflows/release-golang-cross.yml@refs/tags/v1.21.3-0" | |
env: | |
TUF_ROOT: /tmp | |
validate-release-job: | |
runs-on: ubuntu-latest | |
needs: | |
- check-signature | |
container: | |
image: ghcr.io/gythialy/golang-cross:v1.21.3-0@sha256:6e2c885532ad276195d3e3f269055fb2742c8963b231d097c467758dd425a632 | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
# Error: fatal: detected dubious ownership in repository at '/__w/rekor/rekor' | |
# To add an exception for this directory, call: | |
# git config --system --add safe.directory /__w/rekor/rekor | |
# Reason: Recent versions of git require the .git folder to be owned | |
# by the same user (see https://github.blog/2022-04-12-git-security-vulnerability-announced/). | |
# Related | |
# - https://github.com/actions/runner/issues/2033 | |
# - https://github.com/actions/checkout/issues/1048 | |
# - https://github.com/actions/runner-images/issues/6775 | |
- run: git config --system --add safe.directory /__w/rekor/rekor | |
- name: goreleaser snapshot | |
run: make snapshot | |
env: | |
PROJECT_ID: honk-fake-project | |
RUNTIME_IMAGE: gcr.io/distroless/static:debug-nonroot | |
- name: check binaries | |
run: | | |
./dist/rekor-server-linux-amd64 version | |
./dist/rekor-cli-linux-amd64 version |