Push to both latest and hash
This commit is contained in:
parent
56c38d912f
commit
9371155932
@ -9,3 +9,4 @@ build_image:
|
|||||||
- 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 .
|
||||||
- docker push $CI_REGISTRY/jafner/docker-calibre-web/docker-calibre-web:$CI_COMMIT_SHA
|
- docker push $CI_REGISTRY/jafner/docker-calibre-web/docker-calibre-web:$CI_COMMIT_SHA
|
||||||
|
- docker push $CI_REGISTRY/jafner/docker-calibre-web/docker-calibre-web:latest
|
||||||
|
Loading…
Reference in New Issue
Block a user