Skip to content
Snippets Groups Projects
Unverified Commit 9ea1d892 authored by Timo Furrer's avatar Timo Furrer
Browse files

Login to registry to sign

parent fe8b9370
No related branches found
No related tags found
No related merge requests found
...@@ -261,6 +261,7 @@ gitlab-opentofu-image:sign: ...@@ -261,6 +261,7 @@ gitlab-opentofu-image:sign:
before_script: before_script:
- *image-matrix-deploy-release-name-script - *image-matrix-deploy-release-name-script
- apk add --update cosign - apk add --update cosign
- cosign login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
script: script:
- cosign sign "$(crane digest --full-ref "$RELEASE_IMAGE")" - cosign sign "$(crane digest --full-ref "$RELEASE_IMAGE")"
- export image_digest="$(crane digest $RELEASE_IMAGE)" - export image_digest="$(crane digest $RELEASE_IMAGE)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment