Skip to content

Commit

Permalink
Temporarily restrict forks from triggering docker push
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref committed Jul 30, 2023
1 parent 55e8393 commit ba24967
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-image-on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
echo "IMAGE_TAGGED_NAME=$IMAGE_TAGGED_NAME" >> "$GITHUB_ENV"
- name: Push Docker image
if: github.event.pull_request.head.repo.full_name == github.repository
env:
REGISTRY_USERNAME: ${{ secrets.CONTAINER_REGISTRY_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}
Expand Down

0 comments on commit ba24967

Please sign in to comment.