feat(Version): add versionfile workflow 4

This commit is contained in:
Wolfram Gulde 2021-12-08 16:25:48 +01:00
parent dca8c92ced
commit 08155045c9

View File

@ -12,6 +12,9 @@
before_script:
- pwd
- ls -l
- echo $ARTIFACT
- export IMAGE_TAG=$(cat ./"$ARTIFACT")
- echo $IMAGE_TAG
- 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