From 69cb6a499eb8e95d9c193548ef16070017154b9c Mon Sep 17 00:00:00 2001 From: Anatoli Nicolae Date: Mon, 8 Jan 2024 09:18:00 +0100 Subject: [PATCH] Fix image tags Signed-off-by: Anatoli Nicolae --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 877a6f4a6..70923883f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,7 +54,7 @@ jobs: maintainer=thundersquared tags: | type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }} - type=raw,value={{github.ref}}-{{sha}},enable=${{ github.ref_type != 'tag' }} + type=ref,enable=${{ github.ref_type != 'tag' }},suffix={{sha}},event=branch type=ref,event=branch type=ref,event=tag