Commit 1835d65c authored by Anton Borisov's avatar Anton Borisov

Update .gitlab-ci.yml

parent de0d2b95
Pipeline #99 failed with stage
in 2 minutes and 33 seconds
...@@ -11,7 +11,7 @@ build: ...@@ -11,7 +11,7 @@ build:
DOCKER_DRIVER: overlay2 DOCKER_DRIVER: overlay2
script: script:
- docker login -u "gitlab-ci-token" -p ${CI_JOB_TOKEN} ${CI_REGISTRY} - docker login -u "gitlab-ci-token" -p ${CI_JOB_TOKEN} ${CI_REGISTRY}
- docker build -t ${CI_REGISTRY_IMAGE} . - docker build -t ${CI_REGISTRY_IMAGE}/prod:${CI_PIPELINE_ID} .
- docker push ${CI_REGISTRY_IMAGE} - docker push ${CI_REGISTRY_IMAGE}
environment: environment:
name: ${CI_COMMIT_REF_NAME} name: ${CI_COMMIT_REF_NAME}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment