From 053f11aa585b7cc41ecc1ae43aa3b3c51297e74b Mon Sep 17 00:00:00 2001 From: Will Franklin Date: Tue, 26 Nov 2024 16:39:02 +0100 Subject: [PATCH] We shouldn't update the release image on prerelease tags (e.g. -alpha.1, -beta, etc.) --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 17db80696..942d5e20e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -42,7 +42,7 @@ jobs: type=ref,event=tag type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }} type=raw,value=dev,enable=${{ github.ref == 'refs/heads/dev' }} - type=raw,value=release,enable=${{ startsWith(github.ref, 'refs/tags/v') }} + type=raw,value=release,enable=${{ startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, '-') }} build-push-backend: runs-on: ubuntu-latest