fixed ci
This commit is contained in:
parent
d45d1ad56f
commit
0f9a289c4b
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue