From 6234ba45f5507c00087e5bad8f917d8378e66f47 Mon Sep 17 00:00:00 2001 From: Maxwell Weru Date: Mon, 25 Sep 2023 16:04:09 +0300 Subject: [PATCH] Fix workflow condition --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5a30ba8..3638d90 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -100,7 +100,7 @@ jobs: docker push "ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME:$GITVERSION_SHORTSHA" - name: Push image (NuGetVersionV2) - if: "!startsWith(github.ref, 'refs/pull')" + if: ${{ !startsWith(github.ref, 'refs/pull') }} run: docker push "ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME:$GITVERSION_NUGETVERSIONV2" - name: Push image (major, minor)