Skip to content

Commit

Permalink
ci: only push images on main or v
Browse files Browse the repository at this point in the history
  • Loading branch information
alexec committed May 11, 2021
1 parent 7251471 commit 0935fe1
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 @@ -65,7 +65,7 @@ jobs:
publish-images:
runs-on: ubuntu-latest
needs: [ test, lint ]
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
strategy:
matrix:
target: [ controller, runner, go1-16, java16, python3-9 ]
Expand Down

0 comments on commit 0935fe1

Please sign in to comment.