Tag image twice, push once
This commit is contained in:
parent
928a5f4b33
commit
bff3d8f6b6
@ -7,6 +7,5 @@ build_image:
|
|||||||
- echo $CI_REGISTRY_USER
|
- echo $CI_REGISTRY_USER
|
||||||
- echo $CI_REGISTRY
|
- echo $CI_REGISTRY
|
||||||
- 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 build --no-cache -t $CI_REGISTRY/jafner/docker-calibre-web/docker-calibre-web:$CI_COMMIT_SHA .
|
- docker build --no-cache -t $CI_REGISTRY/jafner/docker-calibre-web/docker-calibre-web:$CI_COMMIT_SHA -t $CI_REGISTRY/jafner/docker-calibre-web/docker-calibre-web:latest .
|
||||||
- docker push $CI_REGISTRY/jafner/docker-calibre-web/docker-calibre-web:$CI_COMMIT_SHORT_SHA
|
- docker push $CI_REGISTRY/jafner/docker-calibre-web/docker-calibre-web --all-tags
|
||||||
- docker push $CI_REGISTRY/jafner/docker-calibre-web/docker-calibre-web:latest
|
|
||||||
|
Loading…
Reference in New Issue
Block a user