Skip to content

Commit

Permalink
Skip docker image publishing on pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
pka committed Mar 7, 2023
1 parent e629e94 commit 0f53b53
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
fi
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@2.12
uses: elgohr/Publish-Docker-Github-Action@v5
if: github.event_name != 'pull_request'
with:
name: sourcepole/${{ github.event.repository.name }}
username: ${{ secrets.DOCKER_HUB_USER }}
Expand Down

0 comments on commit 0f53b53

Please sign in to comment.