projects
/
GitLab
/
stricted-build
/
lineage_builder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ee9e64d
)
Push latest tag
author
Tom Powell
<gitlab@tom.powell.io>
Fri, 16 Nov 2018 05:39:29 +0000
(
05:39
+0000)
committer
Tom Powell
<gitlab@tom.powell.io>
Fri, 16 Nov 2018 05:39:29 +0000
(
05:39
+0000)
.gitlab-ci.yml
patch
|
blob
|
blame
|
history
diff --git
a/.gitlab-ci.yml
b/.gitlab-ci.yml
index 5a423c13181155277292f276c631310d2ec06f8a..629ad593d02b7f3796ff4502df6c47c18f03981b 100644
(file)
--- a/
.gitlab-ci.yml
+++ b/
.gitlab-ci.yml
@@
-25,6
+25,8
@@
build:
script:
- docker login $CI_REGISTRY -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD
- docker build . -t $CI_REGISTRY_IMAGE:$CI_PIPELINE_IID
+ - docker tag $CI_REGISTRY_IMAGE:$CI_PIPELINE_IID $CI_REGISTRY_IMAGE:latest
+ - docker push $CI_REGISTRY_IMAGE:latest
- docker push $CI_REGISTRY_IMAGE:$CI_PIPELINE_IID
deploy:
stage: deploy