From 4486b014e7f879a523cef28b265c0c330962349f Mon Sep 17 00:00:00 2001 From: pataar Date: Sat, 7 Oct 2023 21:29:04 +0200 Subject: [PATCH] ci(docker): ensure that the docker images are tagged correctly --- .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..5dae6ba3f 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{{version}} + type=semver,pattern=v{{major}}.{{minor}} + type=semver,pattern=v{{major}}.{{minor}}.{{patch}} - name: Set up QEMU uses: docker/setup-qemu-action@v3