diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dfd0dbca2c91086107dcc6287afa02f8f3b7758a..63ee8d621d81cd1da2cc8768ee5dddfde8381891 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -64,6 +64,7 @@ build_docker: - docker build --cache-from "$GCR_IMAGE" -t "$GCR_IMAGE":latest -t "$GCR_IMAGE":"$CI_COMMIT_SHA" -t "$GCR_IMAGE":"$CI_COMMIT_REF_SLUG" . - docker push "$GCR_IMAGE":"$CI_COMMIT_SHA" - docker push "$GCR_IMAGE":"$CI_COMMIT_REF_SLUG" + - docker push "$GCR_IMAGE":latest # for caching the build ## staging environment