Skip to content

Commit

Permalink
improv/sec: prevent login to registry on PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
kbdharun committed May 13, 2024
1 parent 10a8614 commit c0402c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ jobs:
uses: docker/setup-buildx-action@v3

- name: Login to GitHub Container Registry
if: ${{ github.event_name != 'pull_request' }}
uses: docker/login-action@v3
with:
registry: ghcr.io
Expand Down

0 comments on commit c0402c6

Please sign in to comment.