CI/CD: fix duplicate argument

This commit is contained in:
Glenn Y. Rolland 2021-07-01 13:01:50 +02:00
parent 2d65ae1fb7
commit 6a43b24044

View file

@ -52,8 +52,9 @@ build-docker-image: # This job runs in the build stage, which runs first.
- docker build - docker build
--pull --pull
--file Docker --file Docker
--tag "$CI_REGISTRY_IMAGE${tag}" . --tag "$CI_REGISTRY_IMAGE${tag}"
--tag "$CI_REGISTRY_IMAGE:$VERSION" . --tag "$CI_REGISTRY_IMAGE:$VERSION"
.
- docker push "$CI_REGISTRY_IMAGE${tag}" - docker push "$CI_REGISTRY_IMAGE${tag}"
- docker push "$CI_REGISTRY_IMAGE:$VERSION" - docker push "$CI_REGISTRY_IMAGE:$VERSION"
# Run this job in a branch where a Dockerfile exists # Run this job in a branch where a Dockerfile exists