Skip to content

Commit

Permalink
disable docker login in gh action on PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
dergeberl committed Apr 12, 2022
1 parent 6d5ca05 commit ade8896
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,14 @@ jobs:
version: latest
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
if: ${{ github.event_name != 'pull_request' }}
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY }}
- name: Login to Docker Hub
uses: docker/login-action@v1
if: ${{ github.event_name != 'pull_request' }}
with:
username: ${{ github.repository_owner }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
Expand Down

0 comments on commit ade8896

Please sign in to comment.