Skip to content

Commit 6c7e5d6

Browse files
Updated sigstore
1 parent 3b056bd commit 6c7e5d6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.gflows/libs/build_publish_steps.lib.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ with:
8181
---
8282
#@ def _setup_cosign():
8383
name: Set up sigstore cosign
84-
uses: sigstore/cosign-installer@latest
84+
uses: sigstore/cosign-installer@main
8585
#@ end
8686
---
8787
#@ def _sign_container_with_cosign(image_name, image_digest):

github-sample/workflows/build-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@ jobs:
922922
src: ghcr.io/covergo/auth:candidate-${{ needs.version.outputs.app_version }}
923923
dst: ${{ steps.github-tags-auth-service.outputs.docker_image_ghcr_tags }}
924924
- name: Set up sigstore cosign
925-
uses: sigstore/cosign-installer@latest
925+
uses: sigstore/cosign-installer@main
926926
- name: Sign published container image
927927
run: cosign sign --key env://COSIGN_PRIVATE_KEY ghcr.io/covergo/auth:${{ needs.version.outputs.app_version }}@${{ needs.docker-build-auth-service.outputs.digest }}
928928
env:
@@ -993,7 +993,7 @@ jobs:
993993
event-type: helm_release
994994
client-payload: '{"ref_name": "${{ github.ref_name }}"}'
995995
- name: Set up sigstore cosign
996-
uses: sigstore/cosign-installer@latest
996+
uses: sigstore/cosign-installer@main
997997
- name: Sign published container image
998998
run: cosign sign --key env://COSIGN_PRIVATE_KEY registry-intl.cn-hongkong.aliyuncs.com/covergo/auth:${{ needs.version.outputs.app_version }}@${{ needs.docker-build-auth-service.outputs.digest }}
999999
env:
@@ -1049,7 +1049,7 @@ jobs:
10491049
src: ghcr.io/covergo/auth-predeployment:candidate-${{ needs.version.outputs.app_version }}
10501050
dst: ${{ steps.github-tags-auth-predeployment.outputs.docker_image_ghcr_tags }}
10511051
- name: Set up sigstore cosign
1052-
uses: sigstore/cosign-installer@latest
1052+
uses: sigstore/cosign-installer@main
10531053
- name: Sign published container image
10541054
run: cosign sign --key env://COSIGN_PRIVATE_KEY ghcr.io/covergo/auth-predeployment:${{ needs.version.outputs.app_version }}@${{ needs.docker-build-auth-predeployment.outputs.digest }}
10551055
env:
@@ -1120,7 +1120,7 @@ jobs:
11201120
event-type: helm_release
11211121
client-payload: '{"ref_name": "${{ github.ref_name }}"}'
11221122
- name: Set up sigstore cosign
1123-
uses: sigstore/cosign-installer@latest
1123+
uses: sigstore/cosign-installer@main
11241124
- name: Sign published container image
11251125
run: cosign sign --key env://COSIGN_PRIVATE_KEY registry-intl.cn-hongkong.aliyuncs.com/covergo/auth-predeployment:${{ needs.version.outputs.app_version }}@${{ needs.docker-build-auth-predeployment.outputs.digest }}
11261126
env:

0 commit comments

Comments
 (0)