Merge branch 'read-repo-from-ci' into 'master'

fix: Make semantic release get repo info from CI

See merge request mythic-insight/legendary!32
This commit is contained in:
Robert Prehn 2021-02-20 17:45:35 +00:00
commit 50e59a3743
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ deploy_to_tags:
- master
script:
- npm install
- npx semantic-release
- npx semantic-release --repository-url=$CI_REPOSITORY_URL
- script/generate-build-version
artifacts:
reports:

View file

@ -51,7 +51,7 @@
"publish": [
{
"path": "semantic-release-docker",
"name": "registry.gitlab.com/mythic-insight/legendary"
"name": "${$CI_REGISTRY_IMAGE:-registry.gitlab.com/mythic-insight/legendary}"
}
]
}