1
0
mirror of https://github.com/hegerdes/gitlab-actions.git synced 2025-10-06 05:36:52 +02:00

fix: potential empty ci var in info msg

Signed-off-by: Henrik Gerdes <hegerdes@outlook.de>
This commit is contained in:
Henrik Gerdes
2024-05-10 12:39:55 +02:00
parent 5972794731
commit b2bd2c85ba

View File

@@ -25,7 +25,7 @@ $[[ inputs.as_job ]]:
PRE_COMMIT_DEDUPLICATE_MR_AND_BRANCH: "$[[ inputs.deduplicate_mr_and_branch ]]"
PRE_COMMIT_ACCESS_TOKEN: "$[[ inputs.access_token ]]"
script:
- echo "Using image $[[ inputs.image ]] with ${CI_COMMIT_TAG}@${CI_COMMIT_SHORT_SHA}"
- echo "Using image $[[ inputs.image ]] with ${CI_COMMIT_REF_SLUG}@${CI_COMMIT_SHORT_SHA}"
- |
# Ensure programms are installed
if ! command -v git &> /dev/null; then