feat(Version): add versionfile workflow 3

This commit is contained in:
Wolfram Gulde 2021-12-08 16:14:56 +01:00
parent 20eaf85c96
commit dca8c92ced

View File

@ -10,7 +10,9 @@
variables:
<<: *container-publish-common-variables
before_script:
- if [ "$USE_VERSIONFILE" == "true" ]; then IMAGE_TAG=$(cat ./$ARTIFACT); fi
- pwd
- ls -l
- if [ "$USE_VERSIONFILE" == "true" ]; then IMAGE_TAG=$(cat ./"$ARTIFACT"); fi
- export PARSED_VERSION=$(echo $IMAGE_TAG | sed -r 's/\+/_/g') # Replace + sign since this is not valid in a docker tag
- echo $PARSED_VERSION
stage: package