From 614fbb4983b9ab05a2b8f885e49c9bfff0cad77a Mon Sep 17 00:00:00 2001 From: Georg Lauterbach <44545919+aendeavor@users.noreply.github.com> Date: Sat, 16 Jan 2021 12:06:40 +0100 Subject: [PATCH] mark image for stable appropriately in CI --- .github/workflows/default_on_push.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/default_on_push.yml b/.github/workflows/default_on_push.yml index ff032775..a1ae4a2c 100644 --- a/.github/workflows/default_on_push.yml +++ b/.github/workflows/default_on_push.yml @@ -80,6 +80,7 @@ jobs: DOCKER_IMAGE=docker.io/mailserver/docker-mailserver VERSION=latest [[ $GITHUB_REF == refs/tags/* ]] && VERSION=${GITHUB_REF#refs/tags/v} + [[ $GITHUB_REF == 'refs/heads/stable' ]] && VERSION=stable TAGS="${DOCKER_IMAGE}:${VERSION}" [[ $VERSION =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]] && TAGS="$TAGS,${DOCKER_IMAGE}:latest" echo ::set-output name=tags::${TAGS}