Update .gitlab-ci.yml file
This commit is contained in:
parent
c3e59d4938
commit
caf5c63896
1 changed files with 4 additions and 0 deletions
|
@ -12,6 +12,10 @@ build-push-docker-image-job:
|
|||
# will start up the Docker daemon when it is brought up by a runner.
|
||||
before_script:
|
||||
- docker login -u "$DOCKER_REGISTRY_USER" -p "$DOCKER_REGISTRY_PASSWORD" $DOCKER_REGISTRY_URL # Instructs GitLab to login to its registry
|
||||
services:
|
||||
- name: docker:20-dind
|
||||
alias: docker
|
||||
command: ["--tls=false"]
|
||||
script:
|
||||
- echo "Building..." # MAKE SURE NO SPACE ON EITHER SIDE OF = IN THE FOLLOWING LINE
|
||||
- export CONTAINER_FULL_IMAGE_NAME_WITH_TAG=$IMAGE_NAME_WITH_REGISTRY_PREFIX/my-build-image:$COMMIT_HASH
|
||||
|
|
Loading…
Reference in a new issue