diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fdab377..2cbdf30 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,6 +30,6 @@ deploy: - master script: - docker login -u ${CI_REGISTRY_USER} -p ${REGISTRY_PASSWORD} ${CI_REGISTRY} - - docker build --tag ${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHORT_SHA} --tag ${CI_REGISTRY_IMAGE}:latest . + - docker build --network br_docker --tag ${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHORT_SHA} --tag ${CI_REGISTRY_IMAGE}:latest . - docker push ${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHORT_SHA} - docker push ${CI_REGISTRY_IMAGE}:latest