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
5fcdba80
Commit
5fcdba80
authored
Aug 10, 2019
by
Stefan Lankes
Browse files
tag a docker image by date
parent
29f41939
Pipeline
#170142
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
5fcdba80
variables
:
IMAGE
:
rwthos/hermit
core-rs
IMAGE
:
rwthos/hermit
-cargo
GIT_SUBMODULE_STRATEGY
:
normal
VERSION=$(date %Y%m%d%H%M%S)
stages
:
-
prepare
...
...
@@ -13,7 +14,9 @@ docker:
script
:
-
docker build -t ${IMAGE} .
-
docker tag ${IMAGE} ${IMAGE}:latest
-
docker tag ${IMAGE} ${IMAGE}:${VERSION}
-
docker push ${IMAGE}:latest
-
docker push ${IMAGE}:${VERSION}
tags
:
-
shell
-
linux
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