From 674f057f88583882aece53d69157690e5d1a768d Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 16 Jan 2021 15:46:50 +0100 Subject: [PATCH] build: fix condition to push Docker image --- .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 9816411a..2e3ce953 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,7 +31,7 @@ jobs: - run: npm test docker: needs: build - if: github.ref == 'refs/heads/master' || contains('refs/tags/v', github.ref) + if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') runs-on: ubuntu-latest name: Build Docker images steps: