Skip to content

Commit

Permalink
Comment out Docker Hub login and push actions for pull requests
Browse files Browse the repository at this point in the history
The Docker Hub login and push actions have been commented out within the GitHub workflow file to prevent the triggering of these actions during pull requests. This change avoids unnecessary Docker Hub operations for code updates that are still under review.
  • Loading branch information
Denis Smet committed Mar 13, 2024
1 parent e881a82 commit 0e0c6d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
if: github.event_name != 'pull_request'
# if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
Expand All @@ -60,6 +60,6 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
# push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 0e0c6d3

Please sign in to comment.