From ab4811a0017020487da21fbf62266a2619605ce6 Mon Sep 17 00:00:00 2001 From: Martin Buchleitner Date: Wed, 22 Mar 2023 10:22:26 +0100 Subject: [PATCH] fix: branch tag not on main --- .github/workflows/docker.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index e3955dd..e3f0b0e 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -70,6 +70,7 @@ jobs: type=raw,value=${{ needs.prebuild.outputs.version }} type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }} type=ref,event=pr + type=ref,event=branch,enable=${{ github.ref != format('refs/heads/{0}', 'main') }} type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} type=sha