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

Digest on same line in release-notes

parent d669c14a
No related branches found
No related tags found
No related merge requests found
......@@ -110,8 +110,7 @@ gitlab-opentofu-image:deploy:with-opentofu-version:
- crane auth login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
script:
- crane copy "$GITLAB_OPENTOFU_IMAGE_NAME" "$RELEASE_IMAGE"
- 'echo "- \`$RELEASE_IMAGE\`" > image$CI_JOB_ID.txt'
- 'echo " - (digest: \`$(crane digest $RELEASE_IMAGE)\`)" >> image$CI_JOB_ID.txt'
- 'echo "- \`$RELEASE_IMAGE\` (digest: \`$(crane digest $RELEASE_IMAGE)\`)" > image$CI_JOB_ID.txt'
artifacts:
paths:
- 'image*.txt'
......@@ -132,8 +131,7 @@ gitlab-opentofu-image:deploy:latest-with-opentofu-version:
- crane auth login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
script:
- crane copy "$GITLAB_OPENTOFU_IMAGE_NAME" "$RELEASE_IMAGE"
- 'echo "- \`$RELEASE_IMAGE\`" > image$CI_JOB_ID.txt'
- 'echo " - (digest: \`$(crane digest $RELEASE_IMAGE)\`)" >> image$CI_JOB_ID.txt'
- 'echo "- \`$RELEASE_IMAGE\` (digest: \`$(crane digest $RELEASE_IMAGE)\`)" > image$CI_JOB_ID.txt'
artifacts:
paths:
- 'image*.txt'
......@@ -153,8 +151,7 @@ gitlab-opentofu-image:deploy:latest:
- crane auth login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
script:
- crane copy "$GITLAB_OPENTOFU_IMAGE_NAME" "$RELEASE_IMAGE"
- 'echo "- \`$RELEASE_IMAGE\`" > image$CI_JOB_ID.txt'
- 'echo " - (digest: \`$(crane digest $RELEASE_IMAGE)\`)" >> image$CI_JOB_ID.txt'
- 'echo "- \`$RELEASE_IMAGE\` (digest: \`$(crane digest $RELEASE_IMAGE)\`)" > image$CI_JOB_ID.txt'
artifacts:
paths:
- 'image*.txt'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment