diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 86389cfb..dc80009a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,8 +21,8 @@ build: stage: build image: "docker" script: - - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - - docker build --pull -t gitlab.com/mythic-insight/legendary/legendary . + - docker login -u $CI_JOB_USER -p $CI_JOB_TOKEN $CI_REGISTRY + - docker build --pull -t registry.gitlab.com/mythic-insight/legendary/legendary . test: stage: test diff --git a/package.json b/package.json index 0323ca1e..3c488af8 100644 --- a/package.json +++ b/package.json @@ -29,13 +29,13 @@ "@semantic-release/git", { "path": "semantic-release-docker", - "registryUrl": "gitlab.com/mythic-insight/legendary/legendary" + "registryUrl": "registry.gitlab.com/mythic-insight/legendary/legendary" } ], "publish": [ { "path": "semantic-release-docker", - "name": "gitlab.com/mythic-insight/legendary/legendary" + "name": "registry.gitlab.com/mythic-insight/legendary/legendary" } ] }