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:
parent
81fc707d27
commit
01930f6d62
1 changed files with 2 additions and 24 deletions
|
@ -11,18 +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:
|
|
||||||
- bin/*
|
|
||||||
- gradle/*
|
|
||||||
- src/*
|
|
||||||
- build.gradle
|
|
||||||
- DockerFile
|
|
||||||
- gradlew
|
|
||||||
- gradlew.bat
|
|
||||||
- settings.gradle
|
|
||||||
- .gitlab.ci.yml
|
|
||||||
|
|
||||||
docker-build:
|
docker-build:
|
||||||
# Official docker image.
|
# Official docker image.
|
||||||
|
@ -36,15 +25,4 @@ 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:
|
|
||||||
- bin/*
|
|
||||||
- gradle/*
|
|
||||||
- src/*
|
|
||||||
- build.gradle
|
|
||||||
- DockerFile
|
|
||||||
- gradlew
|
|
||||||
- gradlew.bat
|
|
||||||
- settings.gradle
|
|
||||||
- .gitlab.ci.yml
|
|
Loading…
Reference in a new issue