From 34887272ed2c078ed021afd5f927f3d0f26d8928 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sat, 25 May 2024 20:51:11 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20Update=20how=20Docker=20tagging?= =?UTF-8?q?=20works?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker-build-publish.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-build-publish.yml b/.github/workflows/docker-build-publish.yml index 20e190ab..10916d73 100644 --- a/.github/workflows/docker-build-publish.yml +++ b/.github/workflows/docker-build-publish.yml @@ -4,7 +4,7 @@ on: workflow_dispatch: push: branches: ['master'] - tags: ['v*'] + tags: ['*.*'] paths: - '**.js' - 'src/**' @@ -46,8 +46,12 @@ jobs: ${{ env.DH_IMAGE }} ghcr.io/${{ env.GH_IMAGE }} tags: | - type=ref,event=tag,prefix=release-,suffix={{tag}} - type=semver,pattern={{major}}.x,value=${{ steps.package-version.outputs.version }} + type=ref,event=tag + type=semver,pattern={{version}},enable=false + type=semver,pattern={{major}}.x + type=raw,value=latest + flavor: | + latest=false labels: | maintainer=Lissy93 org.opencontainers.image.title=Dashy