|
|
@@ -186,6 +186,9 @@ jobs:
|
|
|
needs: detect-noop
|
|
|
if: needs.detect-noop.outputs.noop != 'true'
|
|
|
|
|
|
+ permissions:
|
|
|
+ id-token: write
|
|
|
+
|
|
|
steps:
|
|
|
- name: Setup QEMU
|
|
|
uses: docker/setup-qemu-action@v1
|
|
|
@@ -248,3 +251,13 @@ jobs:
|
|
|
run: make docker.promote
|
|
|
env:
|
|
|
RELEASE_TAG: main
|
|
|
+
|
|
|
+ - name: Set up crane
|
|
|
+ if: github.ref == 'refs/heads/main' && env.GHCR_USERNAME != ''
|
|
|
+ run: go install github.com/google/go-containerregistry/cmd/crane@v0.8.0
|
|
|
+
|
|
|
+ - name: Sign Artifacts to main release channel
|
|
|
+ if: github.ref == 'refs/heads/main' && env.GHCR_USERNAME != ''
|
|
|
+ run: make docker.sign
|
|
|
+ env:
|
|
|
+ RELEASE_TAG: main
|