From c4d5e88f394167e5383f8e2bd6ca2b797b660514 Mon Sep 17 00:00:00 2001 From: juliangiebel Date: Sun, 17 Nov 2024 20:12:10 +0100 Subject: [PATCH] Switch docker tags to use semver --- .github/workflows/deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6d30db5..d89d852 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -65,7 +65,9 @@ jobs: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | type=raw,value=latest - type=raw,value=${{steps.get-version.outputs.version}} + type=semver,pattern={{version}},value=${{steps.get-version.outputs.version}} + type=semver,pattern={{major}}.{{minor}},value=${{steps.get-version.outputs.version}} + type=semver,pattern={{major}},value=${{steps.get-version.outputs.version}} - name: Build and push Docker image uses: docker/build-push-action@v4.1.1