summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorBenjamin Sherman <benjamin@holyarmy.org>2024-04-22 13:48:20 -0500
committerGitHub <noreply@github.com>2024-04-22 13:48:20 -0500
commit24a1c643c8f298d0e5facd5e151e0e6b92e03ae5 (patch)
tree677488038cd17aa49ebed911c5905d7216bb7da0 /.github/workflows
parente617e14dd0db5eb05613506cd37e0bef948f4f9d (diff)
downloadAeroCore-OS-24a1c643c8f298d0e5facd5e151e0e6b92e03ae5.tar.gz
AeroCore-OS-24a1c643c8f298d0e5facd5e151e0e6b92e03ae5.zip
fix(ci): split cosign steps (#6)
A step can't have both "uses" and "run" so the cosign step needed to be split.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d5be3bc..d41d98d 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -137,9 +137,10 @@ jobs:
# to consume. For more details, review the image signing section of the README.
# Sign container
+ - uses: sigstore/cosign-installer@v3.4.0
+ if: github.event_name != 'pull_request'
- name: Sign container image
- uses: sigstore/cosign-installer@v3.4.0
if: github.event_name != 'pull_request'
run: |
cosign sign -y --key env://COSIGN_PRIVATE_KEY ${{ steps.registry_case.outputs.lowercase }}/${{ steps.build_image.outputs.image }}@${TAGS}