Update file .gitlab-ci.yml
This commit is contained in:
parent
e9cfde81b9
commit
6fd1736703
@ -1,19 +1,19 @@
|
|||||||
# docker-build:
|
docker-build:
|
||||||
# # Official docker image.
|
# Official docker image.
|
||||||
# image: docker:latest
|
image: docker:latest
|
||||||
# stage: build
|
stage: build
|
||||||
# variables:
|
variables:
|
||||||
# DOCKER_DRIVER: overlay
|
DOCKER_DRIVER: overlay
|
||||||
|
|
||||||
# services:
|
services:
|
||||||
# - docker:dind
|
- docker:dind
|
||||||
# before_script:
|
before_script:
|
||||||
# - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
|
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
|
||||||
# script:
|
script:
|
||||||
#- 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:
|
||||||
# - main
|
- main
|
||||||
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
|
Reference in New Issue
Block a user