diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2e2e261..8045c5f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,18 +11,7 @@ docker-build-main: - docker build --pull -t "$CI_REGISTRY_IMAGE" . - docker push "$CI_REGISTRY_IMAGE" only: - refs: - - main - changes: - - bin/* - - gradle/* - - src/* - - build.gradle - - DockerFile - - gradlew - - gradlew.bat - - settings.gradle - - .gitlab.ci.yml + - main docker-build: # Official docker image. @@ -36,15 +25,4 @@ docker-build: - docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" . - docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" except: - refs: - - main - changes: - - bin/* - - gradle/* - - src/* - - build.gradle - - DockerFile - - gradlew - - gradlew.bat - - settings.gradle - - .gitlab.ci.yml \ No newline at end of file + - main \ No newline at end of file