Commit cf586cbf authored by Markus Mirz's avatar Markus Mirz
Browse files

Update .gitlab-ci.yml

Former-commit-id: c8b58b1e
parent ecec702a
image: docker:latest
variables: variables:
DOCKER_TAG_DEV: ${CI_COMMIT_REF_NAME} DOCKER_TAG_DEV: ${CI_COMMIT_REF_NAME}
DOCKER_IMAGE_DEV: dpsim-dev DOCKER_IMAGE_DEV: dpsim-dev
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
DOCKER_DRIVER: overlay2
# When using dind, it's wise to use the overlayfs driver for
# improved performance.
services:
- docker:dind
stages: stages:
- prepare - prepare
...@@ -11,10 +19,12 @@ stages: ...@@ -11,10 +19,12 @@ stages:
docker: docker:
stage: prepare stage: prepare
before_script:
- docker info
script: script:
- docker build -t ${DOCKER_IMAGE_DEV}:${DOCKER_TAG_DEV} . - docker build -t ${DOCKER_IMAGE_DEV}:${DOCKER_TAG_DEV} .
tags: tags:
- shell - docker
build: build:
stage: build stage: build
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment