From 86adcbd8ddccaf7e0273ee208ff4aaa9fe40bb5b Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sat, 25 May 2024 14:58:43 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20Update=20docker=20workflow,=20to?= =?UTF-8?q?=20only=20publish=20tag=20when=20new?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker-build-publish.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-build-publish.yml b/.github/workflows/docker-build-publish.yml index 851298c0..20e190ab 100644 --- a/.github/workflows/docker-build-publish.yml +++ b/.github/workflows/docker-build-publish.yml @@ -1,11 +1,10 @@ -# Scans, builds and releases a multi-architecture docker image name: 🐳 Build + Publish Multi-Platform Image on: workflow_dispatch: push: branches: ['master'] - tags: [v*] + tags: ['v*'] paths: - '**.js' - 'src/**' @@ -48,7 +47,7 @@ jobs: ghcr.io/${{ env.GH_IMAGE }} tags: | type=ref,event=tag,prefix=release-,suffix={{tag}} - type=semver,pattern={{raw}},value=${{ steps.package-version.outputs.version }} + type=semver,pattern={{major}}.x,value=${{ steps.package-version.outputs.version }} labels: | maintainer=Lissy93 org.opencontainers.image.title=Dashy