feat(Version): add versionfile workflow 3
This commit is contained in:
parent
20eaf85c96
commit
dca8c92ced
@ -10,7 +10,9 @@
|
|||||||
variables:
|
variables:
|
||||||
<<: *container-publish-common-variables
|
<<: *container-publish-common-variables
|
||||||
before_script:
|
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
|
- export PARSED_VERSION=$(echo $IMAGE_TAG | sed -r 's/\+/_/g') # Replace + sign since this is not valid in a docker tag
|
||||||
- echo $PARSED_VERSION
|
- echo $PARSED_VERSION
|
||||||
stage: package
|
stage: package
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user