Commit 1304a6b3 authored by Stefan Lankes's avatar Stefan Lankes
Browse files

fix date command

parent 9f0e9dc0
Pipeline #170268 passed with stage
in 61 minutes and 59 seconds
variables:
IMAGE: rwthos/hermit-cargo
GIT_SUBMODULE_STRATEGY: normal
VERSION: $(date %Y%m%d%H%M%S)
stages:
- prepare
......@@ -12,6 +11,7 @@ stages:
docker:
stage: prepare
script:
- export VERSION=$(date --rfc-3339='date')
- docker build -t ${IMAGE} .
- docker tag ${IMAGE} ${IMAGE}:latest
- docker tag ${IMAGE} ${IMAGE}:${VERSION}
......
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