Skip to content

Commit

Permalink
Update docker.yml (#538)
Browse files Browse the repository at this point in the history
  • Loading branch information
athackst authored Dec 31, 2024
1 parent 0c1313b commit 017dfd9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
- '**.Dockerfile'
- .github/workflows/docker.yml
pull_request:
pull_request_target:
workflow_dispatch:

# Cancel in-progress funs of the same workflow
Expand Down Expand Up @@ -234,13 +235,11 @@ jobs:
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
if: github.actor == github.repository_owner
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Log in to GHCR
uses: docker/login-action@v3
if: github.actor == github.repository_owner
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down

0 comments on commit 017dfd9

Please sign in to comment.