fixed ci
This commit is contained in:
parent
d45d1ad56f
commit
0f9a289c4b
|
@ -8,7 +8,7 @@ variables:
|
|||
ANSIBLE_PYTHON_INTERPRETER: auto_silent
|
||||
ANSIBLE_STDOUT_CALLBACK: debug
|
||||
|
||||
docker-build-master:
|
||||
docker-build-main:
|
||||
# Official docker image.
|
||||
image: docker:latest
|
||||
stage: build
|
||||
|
@ -22,7 +22,7 @@ docker-build-master:
|
|||
- docker build --pull -t "$CI_REGISTRY_IMAGE" .
|
||||
- docker push "$CI_REGISTRY_IMAGE"
|
||||
only:
|
||||
- master
|
||||
- main
|
||||
|
||||
docker-build:
|
||||
# Official docker image.
|
||||
|
@ -40,7 +40,7 @@ docker-build:
|
|||
except:
|
||||
- main
|
||||
|
||||
deploy-master:
|
||||
deploy-main:
|
||||
#when: manual
|
||||
stage: deploy
|
||||
image:
|
||||
|
|
Loading…
Reference in a new issue