diff --git a/.github/workflows/server.yml b/.github/workflows/server.yml index 81cfebfe..524fe93f 100644 --- a/.github/workflows/server.yml +++ b/.github/workflows/server.yml @@ -102,7 +102,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) diff --git a/.github/workflows/updater.yml b/.github/workflows/updater.yml index 48c939fe..9b47dbc5 100644 --- a/.github/workflows/updater.yml +++ b/.github/workflows/updater.yml @@ -112,7 +112,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)