From 75bba530b525c20d1d20c8a0a7820ae3e3f6da65 Mon Sep 17 00:00:00 2001 From: Fascinated Date: Fri, 13 Jan 2023 23:24:27 +0000 Subject: [PATCH] Update file .gitlab-ci.yml --- .gitlab-ci.yml | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 983b951..11403e3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,19 +1,20 @@ -# docker-build: -# # Official docker image. -# image: docker:latest -# stage: build -# variables: -# DOCKER_DRIVER: overlay +docker-build: + # Official docker image. + image: docker:latest + stage: build + variables: + DOCKER_DRIVER: overlay -# services: -# - docker:dind -# before_script: -# - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY -# script: -# #- docker build --pull -t "$CI_REGISTRY_IMAGE" . -# #- docker push "$CI_REGISTRY_IMAGE" -# only: -# - main + 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: + - main deploy: