diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8d68399..2e2e261 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,7 +11,8 @@ docker-build-main: - docker build --pull -t "$CI_REGISTRY_IMAGE" . - docker push "$CI_REGISTRY_IMAGE" only: - - main + refs: + - main changes: - bin/* - gradle/* @@ -35,7 +36,8 @@ docker-build: - docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" . - docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" except: - - main + refs: + - main changes: - bin/* - gradle/*