testing registry
This commit is contained in:
@@ -67,8 +67,6 @@ make_image:
|
|||||||
|
|
||||||
# Here, the goal is to tag the "master" branch as "latest"
|
# Here, the goal is to tag the "master" branch as "latest"
|
||||||
Push latest:
|
Push latest:
|
||||||
needs:
|
|
||||||
- make_image
|
|
||||||
variables:
|
variables:
|
||||||
# We are just playing with Docker here.
|
# We are just playing with Docker here.
|
||||||
# We do not need GitLab to clone the source code.
|
# We do not need GitLab to clone the source code.
|
||||||
@@ -86,8 +84,6 @@ Push latest:
|
|||||||
# Finally, the goal here is to Docker tag any Git tag
|
# Finally, the goal here is to Docker tag any Git tag
|
||||||
# GitLab will start a new pipeline everytime a Git tag is created, which is pretty awesome
|
# GitLab will start a new pipeline everytime a Git tag is created, which is pretty awesome
|
||||||
Push commit:
|
Push commit:
|
||||||
needs:
|
|
||||||
- make_image
|
|
||||||
variables:
|
variables:
|
||||||
# Again, we do not need the source code here. Just playing with Docker.
|
# Again, we do not need the source code here. Just playing with Docker.
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: none
|
||||||
@@ -98,8 +94,6 @@ Push commit:
|
|||||||
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
|
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
|
||||||
|
|
||||||
Push tag:
|
Push tag:
|
||||||
needs:
|
|
||||||
- make_image
|
|
||||||
variables:
|
variables:
|
||||||
# Again, we do not need the source code here. Just playing with Docker.
|
# Again, we do not need the source code here. Just playing with Docker.
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: none
|
||||||
|
|||||||
Reference in New Issue
Block a user