mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-24 23:15:13 +00:00
Update file .gitlab-ci.yml
This commit is contained in:
parent
2811f4cca5
commit
3b2d47b1e3
1 changed files with 5 additions and 2 deletions
|
@ -41,14 +41,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 a new issue