Merge branch 'cherry-pick-3b2d47b1' into 'stable'
build stable with stable tag See merge request TransFem-org/Sharkey!386
This commit is contained in:
commit
0e13397db7
|
@ -40,14 +40,17 @@ getImageTag:
|
|||
tag="$CI_COMMIT_TAG"
|
||||
elif test "$CI_COMMIT_BRANCH" == "stable"; then
|
||||
tag="latest"
|
||||
version="$(cat package.json | jq -r '.version'), stable"
|
||||
elif test "$CI_COMMIT_BRANCH" == "develop"; then
|
||||
tag="develop"
|
||||
version=$(cat package.json | jq -r '.version')
|
||||
else
|
||||
tag="$CI_COMMIT_BRANCH"
|
||||
fi
|
||||
version=$(cat package.json | jq -r '.version')
|
||||
fi
|
||||
- echo "REGISTRY_PUSH_TAG=$tag" >> build.env
|
||||
- echo "REGISTRY_PUSH_VERSION=$version" >> build.env
|
||||
|
||||
artifacts:
|
||||
reports:
|
||||
dotenv: build.env
|
||||
|
|
Loading…
Reference in New Issue