From 9371155932116c409bf57aadf7db57d90f359d0d Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Tue, 12 Jul 2022 06:08:59 +0000 Subject: [PATCH] Push to both latest and hash --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index aca574d..62b793f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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