This commit is contained in:
Alexander Detsch 2021-04-04 17:37:50 +02:00
parent d45d1ad56f
commit 0f9a289c4b

View file

@ -8,7 +8,7 @@ variables:
ANSIBLE_PYTHON_INTERPRETER: auto_silent ANSIBLE_PYTHON_INTERPRETER: auto_silent
ANSIBLE_STDOUT_CALLBACK: debug ANSIBLE_STDOUT_CALLBACK: debug
docker-build-master: docker-build-main:
# Official docker image. # Official docker image.
image: docker:latest image: docker:latest
stage: build stage: build
@ -22,7 +22,7 @@ docker-build-master:
- 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:
- master - main
docker-build: docker-build:
# Official docker image. # Official docker image.
@ -40,7 +40,7 @@ docker-build:
except: except:
- main - main
deploy-master: deploy-main:
#when: manual #when: manual
stage: deploy stage: deploy
image: image: