Skip to content

Commit

Permalink
Updated sigstore
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhail-petrusheuski-covergo committed Mar 20, 2024
1 parent 3b056bd commit 6c7e5d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gflows/libs/build_publish_steps.lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ with:
---
#@ def _setup_cosign():
name: Set up sigstore cosign
uses: sigstore/cosign-installer@latest
uses: sigstore/cosign-installer@main
#@ end
---
#@ def _sign_container_with_cosign(image_name, image_digest):
Expand Down
8 changes: 4 additions & 4 deletions github-sample/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ jobs:
src: ghcr.io/covergo/auth:candidate-${{ needs.version.outputs.app_version }}
dst: ${{ steps.github-tags-auth-service.outputs.docker_image_ghcr_tags }}
- name: Set up sigstore cosign
uses: sigstore/cosign-installer@latest
uses: sigstore/cosign-installer@main
- name: Sign published container image
run: cosign sign --key env://COSIGN_PRIVATE_KEY ghcr.io/covergo/auth:${{ needs.version.outputs.app_version }}@${{ needs.docker-build-auth-service.outputs.digest }}
env:
Expand Down Expand Up @@ -993,7 +993,7 @@ jobs:
event-type: helm_release
client-payload: '{"ref_name": "${{ github.ref_name }}"}'
- name: Set up sigstore cosign
uses: sigstore/cosign-installer@latest
uses: sigstore/cosign-installer@main
- name: Sign published container image
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 }}
env:
Expand Down Expand Up @@ -1049,7 +1049,7 @@ jobs:
src: ghcr.io/covergo/auth-predeployment:candidate-${{ needs.version.outputs.app_version }}
dst: ${{ steps.github-tags-auth-predeployment.outputs.docker_image_ghcr_tags }}
- name: Set up sigstore cosign
uses: sigstore/cosign-installer@latest
uses: sigstore/cosign-installer@main
- name: Sign published container image
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 }}
env:
Expand Down Expand Up @@ -1120,7 +1120,7 @@ jobs:
event-type: helm_release
client-payload: '{"ref_name": "${{ github.ref_name }}"}'
- name: Set up sigstore cosign
uses: sigstore/cosign-installer@latest
uses: sigstore/cosign-installer@main
- name: Sign published container image
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 }}
env:
Expand Down

0 comments on commit 6c7e5d6

Please sign in to comment.