Skip to content

Commit

Permalink
Only push docker image on master
Browse files Browse the repository at this point in the history
  • Loading branch information
felixoi authored Mar 5, 2022
1 parent 7495e4f commit 7e18f67
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 @@ -71,7 +71,7 @@ jobs:
publish-docker:
runs-on: ubuntu-latest
needs: build
if: startsWith(github.ref, 'refs/heads/master')
if: ${{ github.ref == 'refs/heads/master' }}
steps:
- name: Docker Metadata
id: docker_meta
Expand Down

0 comments on commit 7e18f67

Please sign in to comment.