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

Move digest to separate line in release notes

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