From 58a1f2d079b990222c4ab728e1169d8f8b560f56 Mon Sep 17 00:00:00 2001 From: Ronny Moreas Date: Sat, 22 Apr 2023 10:55:04 +0200 Subject: [PATCH] chore(release): fix condition for latest tag (#823) Signed-off-by: Ronny Moreas --- .github/workflows/images.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/images.yaml b/.github/workflows/images.yaml index 6b9cddba..c85af04e 100644 --- a/.github/workflows/images.yaml +++ b/.github/workflows/images.yaml @@ -61,7 +61,7 @@ jobs: type=raw,value=canary,enable=${{ github.ref == format('refs/heads/{0}', 'main') }} type=ref,event=pr type=semver,pattern={{raw}} - type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }} + type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }} - name: Login to GitHub Container Registry uses: docker/login-action@v1