feat(Version): add versionfile workflow 4
This commit is contained in:
parent
dca8c92ced
commit
08155045c9
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user