From 817efba0d82aa81bbdceca19bd8f079c8412752d Mon Sep 17 00:00:00 2001 From: Pieter Willekens Date: Sat, 7 Oct 2023 21:50:06 +0200 Subject: [PATCH] ci(docker): ensure that the docker images are tagged correctly (#1591) --- .github/workflows/publish_docker.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish_docker.yml b/.github/workflows/publish_docker.yml index 6523f9380..2c5c73ec8 100644 --- a/.github/workflows/publish_docker.yml +++ b/.github/workflows/publish_docker.yml @@ -4,7 +4,7 @@ on: push: branches: ['master', 'develop'] tags: - - '*' + - 'v*' pull_request: branches: - '*' @@ -39,7 +39,9 @@ jobs: tags: | type=raw,value=latest,enable=${{ github.ref == 'refs/heads/master' }} type=edge,branch=develop - type=ref,event=tag + type=semver,pattern=v{{major}} + type=semver,pattern=v{{major}}.{{minor}} + type=semver,pattern=v{{major}}.{{minor}}.{{patch}} - name: Set up QEMU uses: docker/setup-qemu-action@v3