From 01930f6d62ac46a6a77d92164b1bca52161b443c Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Sat, 5 Nov 2022 19:21:13 -0500 Subject: [PATCH] Fix .gitlab-ci.yml --- .gitlab-ci.yml | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) 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