From 6832c03f8d7d7b5e8efd891b8cc24633c8219896 Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Sat, 13 Jul 2024 11:29:24 +0100 Subject: [PATCH] Fix auto Docker tag creation --- .github/workflows/docker_publish.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker_publish.yml b/.github/workflows/docker_publish.yml index d0d36f2..6546d9b 100644 --- a/.github/workflows/docker_publish.yml +++ b/.github/workflows/docker_publish.yml @@ -34,8 +34,10 @@ jobs: uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 with: images: | - ghcr.io/${{ github.repository }}:latest - ghcr.io/${{ github.repository }}:${{ inputs.release }} + ghcr.io/${{ github.repository }} + tags: | + type=ref,event=tag + type=semver,pattern=v{{version}} - name: Build and push Docker image id: push