1
0
Fork 0
mirror of https://github.com/SinTan1729/chhoto-url synced 2024-12-26 23:58:35 -06:00

Fix .gitlab-ci.yml

This commit is contained in:
Sayantan Santra 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 build --pull -t "$CI_REGISTRY_IMAGE" .
- docker push "$CI_REGISTRY_IMAGE" - docker push "$CI_REGISTRY_IMAGE"
only: only:
- main refs:
- main
changes: changes:
- bin/* - bin/*
- gradle/* - gradle/*
@ -35,7 +36,8 @@ 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:
- main refs:
- main
changes: changes:
- bin/* - bin/*
- gradle/* - gradle/*