Commit 10c38f45 authored by Georg Martin Reinke's avatar Georg Martin Reinke
Browse files

CI: include ref in image name

Former-commit-id: aef3bd5a
parent 260e4de1
variables:
DOCKER_IMAGE: dpsim-dev-${CI_COMMIT_REF_NAME}
stages:
- prepare
- build
......@@ -6,7 +9,7 @@ stages:
docker:
stage: prepare
script:
- docker build -t dpsim-dev .
- docker build -t ${DOCKER_IMAGE} .
tags:
- shell
......@@ -14,7 +17,7 @@ build:
stage: build
script:
- make -C Source
image: dpsim-dev
image: ${DOCKER_IMAGE}
tags:
- docker
......@@ -24,4 +27,4 @@ test:
- make -C Source tests
- cd Source/Tests
- python3 run_tests.py
image: dpsim-dev
image: ${DOCKER_IMAGE}
Markdown is supported
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