From 3c2fd0417cb7f11b58c4ebd30ab0958c28400447 Mon Sep 17 00:00:00 2001 From: Thomas Fricke Date: Fri, 28 Jan 2022 09:07:01 +0100 Subject: [PATCH] extended tagging got get the latest tag --- .github/workflows/deploy-image.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy-image.yml b/.github/workflows/deploy-image.yml index fbd89b9..5bac37b 100644 --- a/.github/workflows/deploy-image.yml +++ b/.github/workflows/deploy-image.yml @@ -44,6 +44,7 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | + type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }} type=ref,event=branch type=ref,event=pr type=semver,pattern={{version}}