From d4d7093969561bf216bd996a24fd38040290d7fa Mon Sep 17 00:00:00 2001 From: scrungus <33693738+scrungus@users.noreply.github.com> Date: Wed, 20 Sep 2023 15:39:33 +0100 Subject: [PATCH] allow other tag formats (#12) * Update build-and-push-images.yml * any tag type --- .github/workflows/build-and-push-images.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-push-images.yml b/.github/workflows/build-and-push-images.yml index cce1182..0f4520c 100644 --- a/.github/workflows/build-and-push-images.yml +++ b/.github/workflows/build-and-push-images.yml @@ -5,7 +5,7 @@ on: branches: - 'master' tags: - - 'v*' + - '*' pull_request: branches: - 'master' @@ -42,7 +42,7 @@ jobs: latest=false tags: | # minimal - type=pep440,pattern={{version}} + type=ref,event=tag # set latest tag for default branch type=raw,value=latest,enable={{is_default_branch}}