Fix .gitlab-ci.yml

This commit is contained in:
SinTan1729 2022-11-05 15:12:06 -05:00
parent 79e01a4145
commit 0ef85242ec

View File

@ -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/*