Skip to content

Commit a3f424c

Browse files
committed
ci: Install missing cosign cli in Update Images workflow
1 parent 27b00c4 commit a3f424c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/main.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ jobs:
4646
nginx-tag: "${{ steps.target_nginx_tag.outputs.tag }}"
4747
matrix-nginx: "${{ matrix.nginx }}"
4848
docker-repository: "${{ vars.DOCKER_REPOSITORY }}"
49-
- name: Install Cosign
50-
uses: sigstore/cosign-installer@v3
5149
- uses: docker/setup-qemu-action@v3
5250
name: Set up QEMU
5351
- uses: docker/setup-buildx-action@v3
@@ -70,6 +68,8 @@ jobs:
7068
build-args: NGINX_TAG=${{ steps.target_nginx_tag.outputs.tag }}
7169
provenance: mode=max
7270
sbom: true
71+
- name: Install Cosign
72+
uses: sigstore/cosign-installer@v3
7373
- name: Sign the images with GitHub OIDC Token
7474
if: ${{ steps.target_tags.outputs.tags != '' }}
7575
env:

.github/workflows/update.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ jobs:
9494
build-args: NGINX_TAG=${{ steps.target_nginx_tag.outputs.tag }}
9595
provenance: mode=max
9696
sbom: true
97+
- name: Install Cosign
98+
uses: sigstore/cosign-installer@v3
9799
- name: Sign the images with GitHub OIDC Token
98100
if: ${{ steps.check_if_update_is_necessary.outputs.needs_update == 'true' && steps.target_image_name.outputs.tags != '' }}
99101
env:

0 commit comments

Comments
 (0)