fix: Make semantic release get repo info from CI

This commit is contained in:
Robert Prehn 2021-02-20 11:42:01 -06:00
parent d7a92a2b7a
commit 78509643c6
2 changed files with 2 additions and 2 deletions

View file

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

View file

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