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,6 +11,7 @@ docker-build-main:
- docker build --pull -t "$CI_REGISTRY_IMAGE" . - docker build --pull -t "$CI_REGISTRY_IMAGE" .
- docker push "$CI_REGISTRY_IMAGE" - docker push "$CI_REGISTRY_IMAGE"
only: only:
refs:
- main - main
changes: changes:
- bin/* - bin/*
@ -35,6 +36,7 @@ docker-build:
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" . - docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" .
- docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" - docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
except: except:
refs:
- main - main
changes: changes:
- bin/* - bin/*