Update .gitlab-ci.yml file

This commit is contained in:
Luke 2022-05-22 03:57:25 +00:00
parent 244afe8108
commit 29c6b238c9

View File

@ -1,4 +1,4 @@
image: docker:19.03.12-dind
image: docker:dind
services:
- name: docker:dind
entrypoint: ["env", "-u", "DOCKER_HOST"]
@ -38,7 +38,7 @@ build_and_push_container:
- while ! nc -z localhost 2375; do sleep 0.1; done # Wait until docker socket is available
- docker login -u ldooks -p $DOCKER_ACCESS_TOKEN
- docker build -t ldooks/dragon-bot:$CI_PIPELINE_IID -t ldooks/dragon-bot:latest .
- docker push ldooks/dragon-bot:$CI_PIPELINE_IID
- docker push ldooks/dragon-bot -a
rules:
- changes:
- app/**/*