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