Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
f8e6db5
Verify subject with bundle only when checking claims (#4320)
haydentherapper Aug 4, 2025
806fcd3
chore(deps): bump github.com/sigstore/rekor from 1.3.10 to 1.4.0 (#4325)
dependabot[bot] Aug 5, 2025
674c9c1
chore(deps): bump github.com/secure-systems-lab/go-securesystemslib (…
dependabot[bot] Aug 5, 2025
f385b03
chore(deps): bump the actions group with 3 updates (#4329)
dependabot[bot] Aug 5, 2025
bfd1044
chore(deps): bump github.com/awslabs/amazon-ecr-credential-helper/ecr…
dependabot[bot] Aug 5, 2025
cd8bc0b
Bump deps for cuelang and others (#4332)
haydentherapper Aug 7, 2025
7319eb4
chore(deps): bump google.golang.org/api from 0.243.0 to 0.244.0 (#4326)
dependabot[bot] Aug 7, 2025
f011b93
Add support for SigningConfig for sign-blob/attest-blob, support Reko…
haydentherapper Aug 7, 2025
0ac382a
Have cosign sign support bundle format (#4316)
steiza Aug 7, 2025
fbea0dd
bump golangci-lint to v2.3.x (#4333)
cpanato Aug 8, 2025
1059a80
update builder to use go1.24.6 (#4334)
cpanato Aug 8, 2025
18040e1
chore(deps): bump actions/checkout from 4.2.2 to 5.0.0 (#4338)
dependabot[bot] Aug 12, 2025
4702fb8
chore(deps): bump the actions group with 3 updates (#4345)
dependabot[bot] Aug 12, 2025
275f268
chore(deps): bump github.com/sigstore/sigstore-go (#4340)
dependabot[bot] Aug 12, 2025
c11b6b7
chore(deps): bump the gomod group with 4 updates (#4343)
dependabot[bot] Aug 12, 2025
b77ae44
chore(deps): bump golang.org/x/crypto from 0.40.0 to 0.41.0 (#4339)
dependabot[bot] Aug 12, 2025
3e8eb0d
chore(deps): bump github.com/go-jose/go-jose/v4 from 4.0.5 to 4.1.2 (…
dependabot[bot] Aug 12, 2025
a2a8ca3
Fixes to cosign sign / verify for the new bundle format (#4346)
steiza Aug 13, 2025
36acb30
Don't require timestamps when verifying with a key (#4337)
haydentherapper Aug 14, 2025
3a2e076
Don't load content from TUF if trusted root path is specified (#4347)
steiza Aug 18, 2025
47b5ffe
chore(deps): bump google.golang.org/api from 0.246.0 to 0.247.0 (#4353)
dependabot[bot] Aug 19, 2025
e185b40
chore(deps): bump gitlab.com/gitlab-org/api/client-go (#4352)
dependabot[bot] Aug 19, 2025
ddca0f1
Relax go directive to 1.24.x (#4351)
haydentherapper Aug 19, 2025
b118243
chore(deps): bump chainguard-dev/actions in the actions group (#4349)
dependabot[bot] Aug 19, 2025
5bca529
chore(deps): bump the gomod group with 4 updates (#4350)
dependabot[bot] Aug 19, 2025
76faaff
chore(deps): bump github.com/go-viper/mapstructure/v2 (#4355)
dependabot[bot] Aug 21, 2025
8999f9e
chore(deps): bump github.com/buildkite/agent/v3 from 3.98.2 to 3.103.…
dependabot[bot] Aug 26, 2025
6dd6f52
chore(deps): bump google.golang.org/protobuf in the gomod group (#4364)
dependabot[bot] Aug 26, 2025
ef083d4
chore(deps): bump github.com/spiffe/go-spiffe/v2 from 2.5.0 to 2.6.0 …
dependabot[bot] Aug 26, 2025
663b97c
chore(deps): bump the actions group with 2 updates (#4361)
dependabot[bot] Aug 26, 2025
ec66f46
chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.0 (…
dependabot[bot] Aug 26, 2025
29f9349
chore(deps): bump gitlab.com/gitlab-org/api/client-go (#4360)
dependabot[bot] Aug 26, 2025
5ad3dfe
chore(deps): bump google.golang.org/api from 0.247.0 to 0.248.0 (#4359)
dependabot[bot] Aug 26, 2025
fbb7ca1
update builder image to use go1.25 (#4366)
cpanato Aug 27, 2025
b6ce93d
Update conformance test binary for signing config (#4367)
haydentherapper Aug 27, 2025
fd5fcfb
Break import cycle with e2e build tag (#4370)
haydentherapper Aug 28, 2025
68caffd
refactor: extract function to write referrer attestations (#4357)
arewm Aug 29, 2025
dafb08b
chore(deps): bump k8s.io/client-go from 0.33.4 to 0.34.0 (#4383)
dependabot[bot] Sep 2, 2025
a40b907
chore(deps): bump the gomod group with 6 updates (#4382)
dependabot[bot] Sep 2, 2025
62f0cb1
chore(deps): bump google-github-actions/auth from 2.1.12 to 3.0.0 (#4…
dependabot[bot] Sep 2, 2025
be9d024
chore(deps): bump github.com/spf13/cobra from 1.9.1 to 1.10.1 (#4380)
dependabot[bot] Sep 2, 2025
402cc2a
introduce dockerfile to pin the go version to decouple go version fro…
cpanato Sep 2, 2025
66fd8de
chore(deps): bump github.com/open-policy-agent/opa from 1.7.1 to 1.8.…
dependabot[bot] Sep 2, 2025
b36644f
Remove SHA256 assumption in sign-blob/verify-blob (#4050)
ret2libc Sep 2, 2025
40c308c
chore(deps): bump gitlab.com/gitlab-org/api/client-go in the gomod gr…
dependabot[bot] Sep 3, 2025
59b9930
Support self-managed keys when signing with sigstore-go (#4368)
haydentherapper Sep 3, 2025
eed2a11
chore(deps): bump chainguard-dev/actions in the actions group (#4376)
dependabot[bot] Sep 4, 2025
a2cbeda
Add support for SigningConfig in sign/attest (#4371)
haydentherapper Sep 4, 2025
62a960c
chore(deps): bump golang from 1.25.0 to 1.25.1 in the all group (#4398)
dependabot[bot] Sep 8, 2025
fd1bf74
chore(deps): bump actions/setup-go from 5.5.0 to 6.0.0 (#4397)
dependabot[bot] Sep 8, 2025
0d478dc
chore(deps): bump golang.org/x/sync from 0.16.0 to 0.17.0 (#4395)
dependabot[bot] Sep 8, 2025
67d8d30
chore(deps): bump github.com/buildkite/agent/v3 from 3.103.1 to 3.104…
dependabot[bot] Sep 8, 2025
f527319
chore(deps): bump actions/github-script from 7.0.1 to 8.0.0 (#4392)
dependabot[bot] Sep 8, 2025
8e3dc33
chore(deps): bump the actions group with 4 updates (#4396)
dependabot[bot] Sep 8, 2025
a57176a
chore(deps): bump golang.org/x/term from 0.34.0 to 0.35.0 (#4388)
dependabot[bot] Sep 8, 2025
8c7c09d
chore(deps): bump gitlab.com/gitlab-org/api/client-go (#4394)
dependabot[bot] Sep 8, 2025
1a1ee13
chore(deps): bump golang.org/x/oauth2 from 0.30.0 to 0.31.0 (#4393)
dependabot[bot] Sep 8, 2025
153df46
chore(deps): bump golang.org/x/crypto from 0.41.0 to 0.42.0 (#4391)
dependabot[bot] Sep 9, 2025
11163ae
Bump sigstore-go, support alternative hash algorithms with keys (#4386)
haydentherapper Sep 11, 2025
2581dfd
chore(deps): bump the gomod group across 1 directory with 8 updates (…
dependabot[bot] Sep 11, 2025
b1acaeb
Add a terminal spinner while signing with sigstore-go (#4402)
haydentherapper Sep 12, 2025
37fbfc7
Require exclusively a SigningConfig or service URLs when signing (#4403)
haydentherapper Sep 12, 2025
6431af1
Add CHANGELOG for v2.6.0 (#4404)
haydentherapper Sep 12, 2025
b952363
Default to using the new protobuf format (#4318)
steiza Sep 16, 2025
fb2fb6b
chore(deps): bump github.com/buildkite/agent/v3 from 3.104.0 to 3.105…
dependabot[bot] Sep 16, 2025
5add865
chore(deps): bump gitlab.com/gitlab-org/api/client-go (#4410)
dependabot[bot] Sep 16, 2025
78538ae
chore(deps): bump the actions group with 2 updates (#4407)
dependabot[bot] Sep 16, 2025
0a1de88
chore(deps): bump github.com/spf13/viper from 1.20.1 to 1.21.0 (#4408)
dependabot[bot] Sep 16, 2025
45bda40
Bump sigstore-go for more precise user agents (#4413)
haydentherapper Sep 17, 2025
da0a2f6
bump go builder to use 1.25.1 and cosign (#4417)
cpanato Sep 18, 2025
40f9e35
chore(deps): bump chainguard-dev/actions in the actions group (#4421)
dependabot[bot] Sep 23, 2025
aa33f40
chore(deps): bump github.com/buildkite/agent/v3 from 3.105.0 to 3.107…
dependabot[bot] Sep 23, 2025
0d33bbc
chore(deps): bump github.com/theupdateframework/go-tuf/v2 (#4418)
dependabot[bot] Sep 23, 2025
f750687
chore(deps): bump gitlab.com/gitlab-org/api/client-go (#4419)
dependabot[bot] Sep 23, 2025
8d756cf
Partially populate the output of cosign verify when working with new …
steiza Sep 25, 2025
dfc71f9
Bump sigstore-go to v1.1.3 (#4423)
haydentherapper Sep 26, 2025
870b27d
Move sigstore-conformance back to tagged release (#4425)
haydentherapper Sep 26, 2025
8e3a787
Bump module version to v3 for Cosign v3.0 (#4427)
haydentherapper Sep 26, 2025
638cee6
chore(deps): bump github.com/go-openapi/runtime from 0.28.0 to 0.29.0…
dependabot[bot] Sep 30, 2025
0b25535
chore(deps): bump gitlab.com/gitlab-org/api/client-go (#4436)
dependabot[bot] Sep 30, 2025
148caf6
chore(deps): bump github.com/go-openapi/swag from 0.24.1 to 0.25.1 (#…
dependabot[bot] Sep 30, 2025
7fb2415
chore(deps): bump the actions group with 3 updates (#4434)
dependabot[bot] Sep 30, 2025
2c0f578
chore(deps): bump github.com/open-policy-agent/opa from 1.8.0 to 1.9.…
dependabot[bot] Sep 30, 2025
a5c4e8e
chore(deps): bump the gomod group with 2 updates (#4429)
dependabot[bot] Sep 30, 2025
2ec2734
chore(deps): bump google.golang.org/api from 0.249.0 to 0.250.0 (#4432)
dependabot[bot] Sep 30, 2025
544d76a
Create changelog for v2.6.1 (#4439)
haydentherapper Oct 2, 2025
479a0c1
Fetch service URLs from the TUF PGI signing config by default (#4428)
haydentherapper Oct 7, 2025
9b4b74c
Create changelog for v3.0.0 (#4440)
haydentherapper Oct 7, 2025
af19423
update goreleaser config for v3.0.0 release (#4446)
bobcallaway Oct 7, 2025
18f981e
update CL for v3.0.1 release (#4447)
bobcallaway Oct 7, 2025
9fee551
Update rekor-tiles version path
cmurphy Oct 9, 2025
9b10de4
chore(deps): bump github.com/go-jose/go-jose/v4 (#4451)
dependabot[bot] Oct 10, 2025
8444969
choose different signature filename for KMS-signed release signatures…
bobcallaway Oct 10, 2025
2c7631b
chore(deps): bump github.com/buildkite/agent/v3 from 3.107.2 to 3.108.0
dependabot[bot] Oct 6, 2025
711b28b
chore(deps): bump the actions group with 3 updates
dependabot[bot] Oct 6, 2025
a47a4a3
chore(deps): bump gitlab.com/gitlab-org/api/client-go
dependabot[bot] Oct 9, 2025
a96437a
chore(deps): bump google.golang.org/api from 0.250.0 to 0.251.0
dependabot[bot] Oct 9, 2025
dccda70
Update changelog for v3.0.2 (#4455)
haydentherapper Oct 10, 2025
925c965
Cache signing config when calling initialize (#4456)
haydentherapper Oct 13, 2025
b529ddf
Deduplicate code in sign/attest* and verify* commands (#4449)
cmurphy Oct 13, 2025
aab0126
Deprecate offline flag (#4457)
haydentherapper Oct 13, 2025
6d95e9b
chore(deps): bump the actions group with 2 updates (#4460)
dependabot[bot] Oct 15, 2025
ae3eecb
Remove --out flag from `cosign initialize` (#4462)
apyrgio Oct 16, 2025
03ab186
update go to 1.25.3 (#4471)
cpanato Oct 17, 2025
5ae3d57
Use overridden repository for new bundle format (#4473)
cmurphy Oct 18, 2025
33b3939
Fix segfault when no attestations are found (#4472)
steiza Oct 21, 2025
6826722
upgrade OSS-Fuzz build tooling (#4487)
AdamKorcz Oct 21, 2025
a0bf3d9
chore(deps): bump cuelang.org/go in the gomod group (#4479)
dependabot[bot] Oct 22, 2025
f72baa9
chore(deps): bump golang.org/x/crypto from 0.42.0 to 0.43.0 (#4486)
dependabot[bot] Oct 22, 2025
0c28652
chore(deps): bump github.com/sigstore/rekor-tiles/v2 (#4485)
dependabot[bot] Oct 22, 2025
32070b7
chore(deps): bump chainguard-dev/actions in the actions group (#4480)
dependabot[bot] Oct 22, 2025
3c9b15c
chore(deps): bump gitlab.com/gitlab-org/api/client-go (#4484)
dependabot[bot] Oct 22, 2025
f9a9a0b
Support multiple container identities
emilyzheng Sep 2, 2025
1861d59
Remove stale embed import (#4492)
joonas Oct 24, 2025
3c5b34b
Add protobuf bundle support for tree subcommand (#4491)
steiza Oct 24, 2025
9ab3a73
chore(deps): bump github.com/buildkite/agent/v3 from 3.108.0 to 3.109…
dependabot[bot] Oct 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,13 @@ updates:
update-types:
- "minor"
- "patch"

- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "weekly"
groups:
all:
update-types:
- "minor"
- "patch"
16 changes: 10 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,26 @@ jobs:
packages: write

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false

- uses: sigstore/cosign-installer@d58896d6a1865668819e1d91763c7751a165e159 # v3.9.2
- uses: sigstore/cosign-installer@d7543c93d881b35a8faa02e8e3605f69b7a1ce62 # v3.10.0

- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
- name: Extract version of Go to use
run: echo "GOVERSION=$(awk -F'[:@]' '/FROM golang/{print $2; exit}' Dockerfile)" >> $GITHUB_ENV

- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version-file: 'go.mod'
go-version: '${{ env.GOVERSION }}'
check-latest: true
cache: false

# will use the latest release available for ko
- uses: ko-build/setup-ko@d006021bd0c28d1ce33a07e7943d48b079944c8d # v0.9

- name: Set up Cloud SDK
uses: google-github-actions/auth@140bb5113ffb6b65a7e9b937a81fa96cf5064462 # v2.1.11
uses: google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093 # v3.0.0
with:
workload_identity_provider: 'projects/498091336538/locations/global/workloadIdentityPools/githubactions/providers/sigstore-cosign'
service_account: 'github-actions@projectsigstore.iam.gserviceaccount.com'
Expand All @@ -68,7 +72,7 @@ jobs:
run: gcloud auth configure-docker --quiet

- name: Login to GitHub Container Registry
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false

- name: Utilize Go Module Cache
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: |
~/go/pkg/mod
Expand All @@ -65,11 +65,14 @@ jobs:
restore-keys: |
${{ runner.os }}-go-

- name: Set correct version of Golang to use during CodeQL run
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
- name: Extract version of Go to use
run: echo "GOVERSION=$(awk -F'[:@]' '/FROM golang/{print $2; exit}' Dockerfile)" >> $GITHUB_ENV

- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version-file: 'go.mod'
go-version: '${{ env.GOVERSION }}'
check-latest: true
cache: false

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/conformance-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,18 @@ jobs:
conformance:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0

- name: Extract version of Go to use
run: echo "GOVERSION=$(awk -F'[:@]' '/FROM golang/{print $2; exit}' Dockerfile)" >> $GITHUB_ENV

- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version-file: 'go.mod'
go-version: '${{ env.GOVERSION }}'
check-latest: true
cache: false

- run: make cosign conformance

Expand All @@ -43,7 +48,7 @@ jobs:

- name: Create Issue on Failure
if: failure()
uses: actions/github-script@v7
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/conformance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,21 @@ jobs:
conformance:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0

- name: Extract version of Go to use
run: echo "GOVERSION=$(awk -F'[:@]' '/FROM golang/{print $2; exit}' Dockerfile)" >> $GITHUB_ENV

- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version-file: 'go.mod'
go-version: '${{ env.GOVERSION }}'
check-latest: true
cache: false

- run: make cosign conformance

- uses: sigstore/sigstore-conformance@fd90e6b0f3046f2276a6659481de6df495dea3b9 # v0.0.18
- uses: sigstore/sigstore-conformance@244638a7a138ae9f6106cfe2d44a698eccd3bef7 # v0.0.21
with:
entrypoint: ${{ github.workspace }}/conformance
4 changes: 2 additions & 2 deletions .github/workflows/donotsubmit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ jobs:

steps:
- name: Check out code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v2.4.0
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v2.4.0
with:
persist-credentials: false

- name: Do Not Submit
uses: chainguard-dev/actions/donotsubmit@708219d4822f33611ac1a2653815cc10e1ab54a6 # v1.4.7
uses: chainguard-dev/actions/donotsubmit@1b32103f5aa389c31ab0be75a8edc38d7e4750d8 # v1.5.7
49 changes: 34 additions & 15 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,18 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0

- name: Extract version of Go to use
run: echo "GOVERSION=$(awk -F'[:@]' '/FROM golang/{print $2; exit}' Dockerfile)" >> $GITHUB_ENV

- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version-file: 'go.mod'
go-version: '${{ env.GOVERSION }}'
check-latest: true
cache: false

- name: Run cross platform e2e tests
run: go test -tags=e2e,cross -v ./test/...
Expand All @@ -54,13 +59,18 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0

- name: Extract version of Go to use
run: echo "GOVERSION=$(awk -F'[:@]' '/FROM golang/{print $2; exit}' Dockerfile)" >> $GITHUB_ENV

- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version-file: 'go.mod'
go-version: '${{ env.GOVERSION }}'
check-latest: true
cache: false

- name: Run pkcs11 end-to-end tests
shell: bash
Expand Down Expand Up @@ -89,17 +99,21 @@ jobs:
SCAFFOLDING_RELEASE_VERSION: "v0.7.24"
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false

- name: setup vault
uses: cpanato/vault-installer@e7c1d664fa15219e89e43739e39a9df11ba00849 # v1.2.0
uses: cpanato/vault-installer@f7e2ad9737b49f351f233eba2df1bdfede939a21 # v1.3.0

- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
- name: Extract version of Go to use
run: echo "GOVERSION=$(awk -F'[:@]' '/FROM golang/{print $2; exit}' Dockerfile)" >> $GITHUB_ENV

- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version-file: 'go.mod'
go-version: '${{ env.GOVERSION }}'
check-latest: true
cache: false

- uses: imjasonh/setup-crane@31b88efe9de28ae0ffa220711af4b60be9435f6e # v0.4

Expand All @@ -121,16 +135,21 @@ jobs:
SCAFFOLDING_RELEASE_VERSION: "v0.7.24"

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0

- name: Extract version of Go to use
run: echo "GOVERSION=$(awk -F'[:@]' '/FROM golang/{print $2; exit}' Dockerfile)" >> $GITHUB_ENV

- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version-file: 'go.mod'
go-version: '${{ env.GOVERSION }}'
check-latest: true
cache: false

- name: Setup mirror
uses: chainguard-dev/actions/setup-mirror@main
uses: chainguard-dev/actions/setup-mirror@1b32103f5aa389c31ab0be75a8edc38d7e4750d8 # v1.5.7
with:
mirror: mirror.gcr.io

Expand Down Expand Up @@ -220,4 +239,4 @@ jobs:

- name: Collect diagnostics
if: ${{ failure() }}
uses: chainguard-dev/actions/kind-diag@708219d4822f33611ac1a2653815cc10e1ab54a6 # v1.4.7
uses: chainguard-dev/actions/kind-diag@1b32103f5aa389c31ab0be75a8edc38d7e4750d8 # v1.5.7
32 changes: 11 additions & 21 deletions .github/workflows/e2e-with-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,35 +48,25 @@ jobs:
COSIGN_YES: "true"

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0

- name: Extract version of Go to use
run: echo "GOVERSION=$(awk -F'[:@]' '/FROM golang/{print $2; exit}' Dockerfile)" >> $GITHUB_ENV

- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version-file: 'go.mod'
go-version: '${{ env.GOVERSION }}'
check-latest: true
cache: false

- name: build cosign and check sign-blob and verify-blob
shell: bash
run: |
set -e
make cosign
./cosign sign-blob --output-certificate certificate.pem --output-signature README.md.sig README.md

if [ -s certificate.pem ]
then
echo "all good for key.pem"
else
echo "file does not exist, or is empty"
exit 1
fi

if [ -s README.md.sig ]
then
exit 0
else
echo "file does not exist, or is empty"
exit 1
fi
./cosign sign-blob --bundle sigstore.json --yes README.md

# Verify with sign-blob
./cosign verify-blob README.md --certificate certificate.pem --signature README.md.sig
./cosign verify-blob --bundle sigstore.json --certificate-identity-regexp ".*" --certificate-oidc-issuer-regexp ".*" README.md
12 changes: 8 additions & 4 deletions .github/workflows/github-oidc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,18 @@ jobs:
KO_PREFIX: ghcr.io/${{ github.repository }}

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0

- name: Extract version of Go to use
run: echo "GOVERSION=$(awk -F'[:@]' '/FROM golang/{print $2; exit}' Dockerfile)" >> $GITHUB_ENV

- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version-file: 'go.mod'
go-version: '${{ env.GOVERSION }}'
check-latest: true
cache: true
cache: false

# Install tools.
- uses: ko-build/setup-ko@d006021bd0c28d1ce33a07e7943d48b079944c8d # v0.9
Expand Down
28 changes: 20 additions & 8 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,23 @@ jobs:
contents: read

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0

- name: Extract version of Go to use
run: echo "GOVERSION=$(awk -F'[:@]' '/FROM golang/{print $2; exit}' Dockerfile)" >> $GITHUB_ENV

- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version-file: 'go.mod'
go-version: '${{ env.GOVERSION }}'
check-latest: true
cache: false

- name: golangci-lint
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
with:
version: v2.2
version: v2.5

golangci-test-e2e:
name: lint-test-e2e
Expand All @@ -51,15 +57,21 @@ jobs:
contents: read

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0

- name: Extract version of Go to use
run: echo "GOVERSION=$(awk -F'[:@]' '/FROM golang/{print $2; exit}' Dockerfile)" >> $GITHUB_ENV

- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version-file: 'go.mod'
go-version: '${{ env.GOVERSION }}'
check-latest: true
cache: false

- name: golangci-lint
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
with:
version: v2.2
version: v2.4
args: --build-tags e2e ./test
Loading