Skip to content

Commit

Permalink
πŸ‘· Push docker image only for master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianpb committed Aug 21, 2021
1 parent 081dc13 commit 6b294d9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/mopidy-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and push
- name: πŸš€ Build and push
if: github.ref == 'refs/heads/master'
uses: docker/build-push-action@v2
with:
context: .
Expand Down Expand Up @@ -55,7 +56,8 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and push
- name: πŸš€ Build and push
if: github.ref == 'refs/heads/master'
uses: docker/build-push-action@v2
with:
context: .
Expand Down

0 comments on commit 6b294d9

Please sign in to comment.