Skip to content

Commit

Permalink
Merge pull request #614 from k4leung4/bump-cosign-d
Browse files Browse the repository at this point in the history
bump cosign to v2.0.0 release
  • Loading branch information
hectorj2f authored Feb 25, 2023
2 parents 2ce2548 + 5a86de9 commit 4485e55
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

- uses: sigstore/cosign-installer@4079ad3567a89f68395480299c77e40170430341
with:
cosign-release: 'v2.0.0-rc.3'
cosign-release: 'v2.0.0'

- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kind-cluster-image-policy-no-tuf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:

- uses: sigstore/cosign-installer@4079ad3567a89f68395480299c77e40170430341
with:
cosign-release: 'v2.0.0-rc.3'
cosign-release: 'v2.0.0'

- name: Install cluster + sigstore
uses: sigstore/scaffolding/actions/setup@main
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:

- uses: sigstore/cosign-installer@4079ad3567a89f68395480299c77e40170430341
with:
cosign-release: 'v2.0.0-rc.3'
cosign-release: 'v2.0.0'

- name: Install cluster + sigstore
uses: sigstore/scaffolding/actions/setup@main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kind-cluster-image-policy-trustroot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:

- uses: sigstore/cosign-installer@4079ad3567a89f68395480299c77e40170430341
with:
cosign-release: 'v2.0.0-rc.3'
cosign-release: 'v2.0.0'

- name: Install cluster + sigstore
uses: sigstore/scaffolding/actions/setup@main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kind-cluster-image-policy-tsa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:

- uses: sigstore/cosign-installer@4079ad3567a89f68395480299c77e40170430341 # v2
with:
cosign-release: 'v2.0.0-rc.3'
cosign-release: 'v2.0.0'

- name: Install cluster + sigstore
uses: sigstore/scaffolding/actions/setup@v0.5.4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kind-cluster-image-policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:

- uses: sigstore/cosign-installer@4079ad3567a89f68395480299c77e40170430341
with:
cosign-release: 'v2.0.0-rc.3'
cosign-release: 'v2.0.0'

- name: Install cluster + sigstore
uses: sigstore/scaffolding/actions/setup@main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kind-e2e-cosigned.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:

- uses: sigstore/cosign-installer@4079ad3567a89f68395480299c77e40170430341
with:
cosign-release: 'v2.0.0-rc.3'
cosign-release: 'v2.0.0'

- name: Setup mirror
uses: chainguard-dev/actions/setup-mirror@main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kind-e2e-trustroot-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:

- uses: sigstore/cosign-installer@4079ad3567a89f68395480299c77e40170430341
with:
cosign-release: 'v2.0.0-rc.3'
cosign-release: 'v2.0.0'

- name: Setup mirror
uses: chainguard-dev/actions/setup-mirror@main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

- uses: sigstore/cosign-installer@4079ad3567a89f68395480299c77e40170430341
with:
cosign-release: 'v2.0.0-rc.3'
cosign-release: 'v2.0.0'

- uses: anchore/sbom-action/download-syft@07978da4bdb4faa726e52dfc6b1bed63d4b56479 # v0.13.3

Expand Down
5 changes: 1 addition & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ require (
github.com/mitchellh/go-homedir v1.1.0
github.com/mitchellh/mapstructure v1.5.0
github.com/ryanuber/go-glob v1.0.0
github.com/sigstore/cosign/v2 v2.0.0-rc.3
github.com/sigstore/cosign/v2 v2.0.0
github.com/sigstore/rekor v1.0.1
github.com/sigstore/sigstore v1.5.2
github.com/stretchr/testify v1.8.1
Expand Down Expand Up @@ -255,6 +255,3 @@ require (
// TODO: this dependency causes issues on webhook startup due
// to conflicting "log_dir" flags between this and klog (knative)
replace github.com/golang/glog => github.com/jdolitsky/glog v0.0.0-20220729172235-78744e90d087

// DO NOT MERGE!!! Update to cosign releave v2.0 before merge
replace github.com/sigstore/cosign/v2 => github.com/sigstore/cosign/v2 v2.0.0-rc.3.0.20230223192635-d6b9001f8e6e
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -786,8 +786,8 @@ github.com/secure-systems-lab/go-securesystemslib v0.4.0/go.mod h1:FGBZgq2tXWICs
github.com/shibumi/go-pathspec v1.3.0 h1:QUyMZhFo0Md5B8zV8x2tesohbb5kfbpTi9rBnKh5dkI=
github.com/shibumi/go-pathspec v1.3.0/go.mod h1:Xutfslp817l2I1cZvgcfeMQJG5QnU2lh5tVaaMCl3jE=
github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
github.com/sigstore/cosign/v2 v2.0.0-rc.3.0.20230223192635-d6b9001f8e6e h1:GtvjKSsm5i2x0eSjyVqnoYVnlJAQVejFkn2zLGtNP4M=
github.com/sigstore/cosign/v2 v2.0.0-rc.3.0.20230223192635-d6b9001f8e6e/go.mod h1:MeJyYfKll3AAsb+CdnhI3YkecDPX2erPvf1JaUaFCrM=
github.com/sigstore/cosign/v2 v2.0.0 h1:x+K6VQKtrBR9/MYOx6ebJB6/Aux56nmf2Zn3chZlP5w=
github.com/sigstore/cosign/v2 v2.0.0/go.mod h1:MeJyYfKll3AAsb+CdnhI3YkecDPX2erPvf1JaUaFCrM=
github.com/sigstore/rekor v1.0.1 h1:rcESXSNkAPRWFYZel9rarspdvneET60F2ngNkadi89c=
github.com/sigstore/rekor v1.0.1/go.mod h1:ecTKdZWGWqE1pl3U1m1JebQJLU/hSjD9vYHOmHQ7w4g=
github.com/sigstore/sigstore v1.5.2 h1:rvZSPJDH2ysoc8kjW9v4nv1UX3XwSA8y4x6Dk7hA0D4=
Expand Down

0 comments on commit 4485e55

Please sign in to comment.