We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5c5fa9 commit 54b6b15Copy full SHA for 54b6b15
.github/workflows/docker-hub.yml
@@ -81,6 +81,8 @@ jobs:
81
version: v${{ env.BUILDKIT_VERSION }}
82
83
- name: Login to Docker Hub
84
+ # Only run when master or when tagging a version
85
+ if: (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) && github.event_name != 'pull_request'
86
uses: docker/login-action@v3
87
with:
88
username: ${{ secrets.DOCKER_HUB_USERNAME }}
0 commit comments