From 4592e9443221038ea34be4c5d2bc3f6eaf0f25c6 Mon Sep 17 00:00:00 2001 From: Aert van de Hulsbeek Date: Mon, 19 Apr 2021 22:03:16 +1000 Subject: [PATCH] Fix docker publish conditional --- .github/workflows/workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index a49d06c..555fb3b 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -52,7 +52,7 @@ jobs: docker-publish: runs-on: ubuntu-latest needs: [test, docker-smoke-test] - if: ${{ github.event_name == 'push' && startsWith('refs/tags/v', github.ref) }} + if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }} steps: - name: Checkout uses: actions/checkout@v2