Skip to content

Commit

Permalink
ci: Install missing cosign cli in Update Images workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
PSanetra committed Aug 26, 2024
1 parent 27b00c4 commit a3f424c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ jobs:
nginx-tag: "${{ steps.target_nginx_tag.outputs.tag }}"
matrix-nginx: "${{ matrix.nginx }}"
docker-repository: "${{ vars.DOCKER_REPOSITORY }}"
- name: Install Cosign
uses: sigstore/cosign-installer@v3
- uses: docker/setup-qemu-action@v3
name: Set up QEMU
- uses: docker/setup-buildx-action@v3
Expand All @@ -70,6 +68,8 @@ jobs:
build-args: NGINX_TAG=${{ steps.target_nginx_tag.outputs.tag }}
provenance: mode=max
sbom: true
- name: Install Cosign
uses: sigstore/cosign-installer@v3
- name: Sign the images with GitHub OIDC Token
if: ${{ steps.target_tags.outputs.tags != '' }}
env:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ jobs:
build-args: NGINX_TAG=${{ steps.target_nginx_tag.outputs.tag }}
provenance: mode=max
sbom: true
- name: Install Cosign
uses: sigstore/cosign-installer@v3
- name: Sign the images with GitHub OIDC Token
if: ${{ steps.check_if_update_is_necessary.outputs.needs_update == 'true' && steps.target_image_name.outputs.tags != '' }}
env:
Expand Down

0 comments on commit a3f424c

Please sign in to comment.