Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
HermitCore
hermit-docker
Commits
1304a6b3
Commit
1304a6b3
authored
Aug 11, 2019
by
Stefan Lankes
Browse files
fix date command
parent
9f0e9dc0
Pipeline
#170268
passed with stage
in 61 minutes and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
1304a6b3
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}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment