We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55e8393 commit ba24967Copy full SHA for ba24967
.github/workflows/build-image-on-pr.yml
@@ -34,6 +34,7 @@ jobs:
34
echo "IMAGE_TAGGED_NAME=$IMAGE_TAGGED_NAME" >> "$GITHUB_ENV"
35
36
- name: Push Docker image
37
+ if: github.event.pull_request.head.repo.full_name == github.repository
38
env:
39
REGISTRY_USERNAME: ${{ secrets.CONTAINER_REGISTRY_USERNAME }}
40
REGISTRY_PASSWORD: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}
0 commit comments