Skip to content
Snippets Groups Projects
Commit bc6383ce authored by Michał Pogoda's avatar Michał Pogoda
Browse files

tag image with latest

parent 885a9b80
Branches
Tags
No related merge requests found
Pipeline #11122 passed with stages
in 2 minutes and 14 seconds
...@@ -39,5 +39,6 @@ build_image: ...@@ -39,5 +39,6 @@ build_image:
- rm pass.txt - rm pass.txt
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker image tag $DOCKERHUB_NAME $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG - docker image tag $DOCKERHUB_NAME $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
- docker image tag $DOCKERHUB_NAME $CI_REGISTRY_IMAGE:latest
- docker push $CI_REGISTRY_IMAGE - docker push $CI_REGISTRY_IMAGE
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment