Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Open ResEl
Outils
CI - DinD Deploy
Commits
824ce490
Commit
824ce490
authored
Mar 17, 2020
by
Nicolas Vuillermet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
167c7557
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
.gitlab-ci.yml
.gitlab-ci.yml
+5
-0
No files found.
.gitlab-ci.yml
View file @
824ce490
...
...
@@ -21,6 +21,9 @@ Build docker image:
script
:
-
docker build -t $IMAGE:$CI_COMMIT_SHA .
-
docker push $IMAGE:$CI_COMMIT_SHA
tags
:
-
admin
<
Push image
:
stage
:
push
...
...
@@ -29,3 +32,5 @@ Push image:
-
docker pull $IMAGE:$CI_COMMIT_SHA
-
docker tag $IMAGE:$CI_COMMIT_SHA $IMAGE:latest
-
docker push $IMAGE:latest
tags
:
-
admin
Write
Preview
Markdown
is supported
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