diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c4539b080172c4e25d3255d6a5f927a041a54ecb..c8b0aa66ddf664c9dc505d6d8712bdc6db4a8531 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -110,7 +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 "- \`$RELEASE_IMAGE\` (digest: \`$(crane digest $RELEASE_IMAGE)\`)" > image$CI_JOB_ID.txt' artifacts: paths: - 'image*.txt' @@ -131,7 +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 "- \`$RELEASE_IMAGE\` (digest: \`$(crane digest $RELEASE_IMAGE)\`)" > image$CI_JOB_ID.txt' artifacts: paths: - 'image*.txt' @@ -151,7 +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 "- \`$RELEASE_IMAGE\` (digest: \`$(crane digest $RELEASE_IMAGE)\`)" > image$CI_JOB_ID.txt' artifacts: paths: - 'image*.txt'