Skip to content

Commit a13bed7

Browse files
committed
tmp
1 parent e11ca7a commit a13bed7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docker-build.ecr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ on:
77
tags:
88
- '*'
99
merge_group:
10-
pull_request_target:
10+
pull_request:
1111
types: [labeled, synchronize, reopened, ready_for_review, opened]
1212

1313
env:
1414
PUSH_FROM_PR: >-
15-
${{ github.event_name == 'pull_request_target' &&
15+
${{ github.event_name == 'pull_request' &&
1616
(
1717
contains(github.event.pull_request.labels.*.name, 'push-container') ||
1818
contains(github.event.pull_request.labels.*.name, 'deploy-pr-temp-env')
@@ -75,7 +75,7 @@ jobs:
7575
with:
7676
context: .
7777
platforms: linux/amd64, linux/arm64
78-
push: ${{ github.event_name != 'pull_request_target' || env.PUSH_FROM_PR == 'true' }}
78+
push: ${{ github.event_name != 'pull_request' || env.PUSH_FROM_PR == 'true' }}
7979
tags: ${{ steps.meta.outputs.tags }}
8080
labels: ${{ steps.meta.outputs.labels }}
8181
cache-from: type=gha

0 commit comments

Comments
 (0)