diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1bfa14564ea3c04c5adbb06be8d98e7678c43727..3e03fdf12855a12daa34c36dac8b08a0264f128e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -84,6 +84,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" # this is the tag that is used for deployment - docker push "$GCR_IMAGE":"$CI_COMMIT_REF_SLUG" # just for easyly knowing which is the last image for a branch + - docker push "$GCR_IMAGE":latest # for caching the build ## review environments