Commit 6f135e1b authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

docker: fix version detection during docker build process

parent 2bbe3ae8
build*
Dependencies/libcps/build*
.git/
Packaging/
......@@ -95,6 +95,10 @@ build:docker:
- docker build
--file Packaging/Docker/Dockerfile
--build-arg DOCKER_TAG=${DOCKER_TAG}
--build-arg CI=1
--build-arg CI_COMMIT_SHA=${CI_COMMIT_SHA}
--build-arg CI_COMMIT_REF_NAME=${CI_COMMIT_REF_NAME}
--build-arg CI_COMMIT_TAG=${CI_COMMIT_TAG}
--tag ${DOCKER_IMAGE}:${DOCKER_TAG}
--tag ${DOCKER_IMAGE}:latest .
tags:
......
# rwthacs/dpsim-dev is built by dpsim-git/Packaging/Docker/Dockerfile.dev
ARG DOCKER_TAG=latest
ARG CI
ARG CI_COMMIT_SHA
ARG CI_COMMIT_REF_NAME
ARG CI_COMMIT_TAG
FROM rwthacs/dpsim-dev:${DOCKER_TAG} AS builder
COPY . /dpsim/
......
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