Skip to content

Commit

Permalink
fix actions
Browse files Browse the repository at this point in the history
  • Loading branch information
zc2638 committed Feb 6, 2024
1 parent 3a91b94 commit a3e4998
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,14 +184,12 @@ jobs:

- name: Login to Docker Hub
uses: docker/login-action@v1
if: github.event_name == 'push' && steps.should_push.outputs.push=='true'
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}

- name: Push to Docker Hub
uses: docker/build-push-action@v3
if: github.event_name == 'push' && steps.should_push.outputs.push=='true'
with:
context: .
file: Dockerfile
Expand Down

0 comments on commit a3e4998

Please sign in to comment.