diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1c75f7b..8f0d1e7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -45,10 +45,9 @@ build: docker build --pull --cache-from $CI_REGISTRY_IMAGE:latest - --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA --tag $CI_REGISTRY_IMAGE:$VERSION --tag $CI_REGISTRY_IMAGE:latest . - - docker push $CI_REGISTRY_IMAGE:latest + - docker push $CI_REGISTRY_IMAGE only: - main