From 2d4ebb9243e7f3b30ea864266f3c839f620e62de Mon Sep 17 00:00:00 2001 From: Atharva Date: Tue, 20 Feb 2024 17:13:48 +0530 Subject: [PATCH] fix: use release version as docker image tag --- .github/workflows/docker-build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 68c19b3..7cdf74f 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -44,8 +44,10 @@ jobs: images: | ghcr.io/${{ github.repository }} tags: | - type=ref,event=push tag + type=ref,event=branch + type=ref,event=pr type=semver,pattern={{version}} + type=semver,pattern={{major}}.{{minor}} - name: Build and push Docker images uses: docker/build-push-action@v5