mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Use registry.gitlab.com
This commit is contained in:
parent
807e956d7f
commit
dbe66d3ce5
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ variables:
|
|||
.build_and_deploy: &build_and_deploy
|
||||
stage: build
|
||||
script:
|
||||
- docker login -u "gitlab-ci-token" -p "$CI_BUILD_TOKEN"
|
||||
- docker login -u "gitlab-ci-token" -p "$CI_BUILD_TOKEN" registry.gitlab.com
|
||||
- docker build -t "$REPOSITORY/$CI_BUILD_NAME" -f "Dockerfile.$CI_BUILD_NAME" .
|
||||
- docker push "$REPOSITORY/$CI_BUILD_NAME"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue