From a80834f3b51744b57c64932e2703ad18b2345aaf Mon Sep 17 00:00:00 2001 From: xyny <60004820+xynydev@users.noreply.github.com> Date: Wed, 22 May 2024 15:38:34 +0000 Subject: [PATCH] fix: switch to semver versioning Co-authored-by: Manuel Schmid <9307310+mashb1t@users.noreply.github.com> --- .github/workflows/build_container.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_container.yml b/.github/workflows/build_container.yml index 6bcd64d7..bb68dc4e 100644 --- a/.github/workflows/build_container.yml +++ b/.github/workflows/build_container.yml @@ -32,9 +32,9 @@ jobs: with: images: ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }} tags: | - type=ref,event=branch - type=ref,event=pr - type=sha + type=semver,pattern={{version}} + type=semver,pattern={{major}}.{{minor}} + type=semver,pattern={{major}} - name: Build and push Docker image uses: docker/build-push-action@v5