Push to both latest and hash

This commit is contained in:
Joey Hafner 2022-07-12 06:08:59 +00:00
parent 56c38d912f
commit 9371155932

View File

@ -9,3 +9,4 @@ build_image:
- 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 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