|
@@ -188,6 +188,7 @@ jobs:
|
|
|
|
|
|
|
|
permissions:
|
|
permissions:
|
|
|
id-token: write
|
|
id-token: write
|
|
|
|
|
+ contents: read
|
|
|
|
|
|
|
|
steps:
|
|
steps:
|
|
|
- name: Setup QEMU
|
|
- name: Setup QEMU
|
|
@@ -256,8 +257,15 @@ jobs:
|
|
|
if: github.ref == 'refs/heads/main' && env.GHCR_USERNAME != ''
|
|
if: github.ref == 'refs/heads/main' && env.GHCR_USERNAME != ''
|
|
|
run: go install github.com/google/go-containerregistry/cmd/crane@v0.8.0
|
|
run: go install github.com/google/go-containerregistry/cmd/crane@v0.8.0
|
|
|
|
|
|
|
|
|
|
+ - name: Install cosign
|
|
|
|
|
+ if: github.ref == 'refs/heads/main' && env.GHCR_USERNAME != ''
|
|
|
|
|
+ uses: sigstore/cosign-installer@main
|
|
|
|
|
+ with:
|
|
|
|
|
+ cosign-release: 'v1.6.0'
|
|
|
|
|
+
|
|
|
- name: Sign Artifacts to main release channel
|
|
- name: Sign Artifacts to main release channel
|
|
|
if: github.ref == 'refs/heads/main' && env.GHCR_USERNAME != ''
|
|
if: github.ref == 'refs/heads/main' && env.GHCR_USERNAME != ''
|
|
|
run: make docker.sign
|
|
run: make docker.sign
|
|
|
env:
|
|
env:
|
|
|
RELEASE_TAG: main
|
|
RELEASE_TAG: main
|
|
|
|
|
+ COSIGN_EXPERIMENTAL: 1
|