mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-25 07:25:12 +00:00
parent
d444ee662f
commit
ad8818508f
1 changed files with 5 additions and 2 deletions
|
@ -40,14 +40,17 @@ 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"
|
||||||
fi
|
|
||||||
version=$(cat package.json | jq -r '.version')
|
version=$(cat package.json | jq -r '.version')
|
||||||
|
fi
|
||||||
- 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 a new issue