From 3fa3581434757848dc23528be3b5739907fa8539 Mon Sep 17 00:00:00 2001 From: Emanuele Aina <emanuele.aina@collabora.com> Date: Mon, 22 Mar 2021 22:35:22 +0100 Subject: [PATCH] Revert "Explicitly set TAG to latest" This reverts commit b26ad3fa96039ebb766 "Explicitly set TAG to latest" since it is causing every image that gets built, even the ones on secondary wip branches, to be tagged as `latest` and thus affecting production everywhere. Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com> --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ddbfbe3..cd0ce00 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,7 +29,7 @@ before_script: RELEASE="${CI_COMMIT_BRANCH#*/}" TAG=latest else - TAG="latest" + TAG=$CI_COMMIT_REF_SLUG fi if [ "$STABLE" = "auto" ] then -- GitLab