From 0ef85242ec956b510b722c8c0a8809da0a58bee4 Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Sat, 5 Nov 2022 15:12:06 -0500 Subject: [PATCH] Fix .gitlab-ci.yml --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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/*