From a28218dc2c13af9202b0b212fb1a05961e1df632 Mon Sep 17 00:00:00 2001 From: Griefed Date: Tue, 10 Nov 2020 19:49:44 +0100 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 13d9ca6..0f6efb9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -46,7 +46,7 @@ test: - shell script: - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - - docker build --tag $CI_REGISTRY_IMAGE:arm . + - docker build --network host --tag $CI_REGISTRY_IMAGE:arm . - docker push $CI_REGISTRY_IMAGE:arm publish: @@ -55,7 +55,7 @@ publish: - shell script: - docker login -u $DOCKER_USER -p $DOCKER_PASSWORD $DOCKER_REGISTRY - - docker build --tag $DOCKER_USER/$DOCKER_REPO:arm . + - docker build --network host --tag $DOCKER_USER/$DOCKER_REPO:arm . - docker push $DOCKER_USER/$DOCKER_REPO:arm - docker system prune --all --force