From f8a2f4420e083a6c0425dbc59c0643a6035745e5 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Sun, 20 Jun 2021 11:43:33 +0200 Subject: [PATCH] push to php8 --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 82b8ec8..9e8f670 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,9 +5,9 @@ build: stage: build script: - docker login -u $DOCKER_USER -p $DOCKER_PASSWORD $DOCKER_REGISTRY - - docker build -t $IMAGE_NAME:$CI_COMMIT_SHA . - - docker build -t $IMAGE_NAME:$CI_COMMIT_REF_NAME . - - docker build -t $IMAGE_NAME:latest . + - docker build --pull -t $IMAGE_NAME:$CI_COMMIT_SHA . + - docker build --pull -t $IMAGE_NAME:$CI_COMMIT_REF_NAME . + - docker build --pull -t $IMAGE_NAME:latest . - docker push $IMAGE_NAME:$CI_COMMIT_SHA - docker push $IMAGE_NAME:$CI_COMMIT_REF_NAME - docker push $IMAGE_NAME:latest