From 97bfd249bdc067b885b058bf3f75bec15306fe3a Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Mon, 6 Mar 2023 18:29:00 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A2=20GitHub=20Actions:=20Set=20edge,?= =?UTF-8?q?=20branch=20and=20semver=20tags=20(including=20latest)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 11c0e06..a356a01 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,9 +41,7 @@ jobs: subimage: ${{ matrix.subimage }} tags: | type=sha,format=long - type=edge,branch=master - type=ref,event=branch - type=semver,pattern={{version}} + # Here: NOT the full tags, just the sha! (they get added below) secrets: inherit build-rest: @@ -94,5 +92,8 @@ jobs: subimage: ${{ matrix.subimage }} tags: | type=sha,format=long - type=ref,event=tag + type=edge,branch=master + type=ref,event=branch + type=semver,pattern={{version}} + # Here: full tags secrets: inherit