From 6a43b240441cda19d2f70a6582af626445d52dee Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Thu, 1 Jul 2021 13:01:50 +0200 Subject: [PATCH] CI/CD: fix duplicate argument --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7e6273a..003ce1b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -52,8 +52,9 @@ build-docker-image: # This job runs in the build stage, which runs first. - docker build --pull --file Docker - --tag "$CI_REGISTRY_IMAGE${tag}" . - --tag "$CI_REGISTRY_IMAGE:$VERSION" . + --tag "$CI_REGISTRY_IMAGE${tag}" + --tag "$CI_REGISTRY_IMAGE:$VERSION" + . - docker push "$CI_REGISTRY_IMAGE${tag}" - docker push "$CI_REGISTRY_IMAGE:$VERSION" # Run this job in a branch where a Dockerfile exists