Update file .gitlab-ci.yml

This commit is contained in:
Lee 2023-01-14 00:07:36 +00:00
parent 33b8c4e674
commit b9844c121a

View File

@ -3,12 +3,9 @@ publish:
stage: build
variables:
DOCKER_DRIVER: overlay
# services:
# - docker:dind
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script:
- echo "hi"
- docker build --pull -t "$CI_REGISTRY_IMAGE" .
- docker push "$CI_REGISTRY_IMAGE"
only: