Skip to content
This repository has been archived by the owner on Jun 4, 2023. It is now read-only.

Commit

Permalink
build: fix condition to push Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentbernat committed Jan 16, 2021
1 parent 9f8b9e2 commit 674f057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 674f057

Please sign in to comment.