Skip to content
Snippets Groups Projects
Commit e7b79938 authored by Zhu, Ling Dr (Elec Electronic Eng)'s avatar Zhu, Ling Dr (Elec Electronic Eng)
Browse files

Update .gitlab-ci.yml

parent 1753d8d7
No related branches found
No related tags found
Loading
Pipeline #28921 failed
...@@ -2,13 +2,26 @@ stages: ...@@ -2,13 +2,26 @@ stages:
- publish - publish
variables: variables:
DOCKER_HOST: tcp://localhost:2375/
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: ""
CONTAINER_IMAGE: gitlab-registry.eps.surrey.ac.uk/lz0002/hello CONTAINER_IMAGE: gitlab-registry.eps.surrey.ac.uk/lz0002/hello
build: build:
image: docker:latest image:
name: docker:stable
# This will run a Docker daemon in a container (Docker-In-Docker), which will
# be available at thedockerhost:2375. If you make e.g. port 5000 public in Docker
# (`docker run -p 5000:5000 yourimage`) it will be exposed at thedockerhost:5000.
services:
- name: docker:dind
alias: thedockerhost
variables:
# Tell docker CLI how to talk to Docker daemon; see
# https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#use-docker-in-docker-executor
DOCKER_HOST: tcp://thedockerhost:2375/
# Use the overlayfs driver for improved performance:
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: ""
stage: publish stage: publish
tags: tags:
- deployment - deployment
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment