Update file .gitlab-ci.yml

This commit is contained in:
Lee 2023-01-13 23:23:59 +00:00
parent 6fd1736703
commit cefc48e669

@ -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: