File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,6 @@ name: ci-build
2929env :
3030 REGISTRY : ghcr.io
3131 DOTNET_VERSION : 9.0.x
32-
33- PUSH : ${{ inputs.push || (github.ref_protected && github.event_name != 'pull_request') }}
3432
3533jobs :
3634
@@ -91,15 +89,15 @@ jobs:
9189 uses : ./.github/actions/build-app
9290 with :
9391 dockerfile : ${{ matrix.dockerfile }}
94- push : ${{ env.PUSH }}
92+ push : ${{ inputs.push || (github.ref_protected && github.event_name != 'pull_request') }}
9593 image : ${{ matrix.image }}
9694 platforms : ${{ inputs.platforms || 'linux/amd64' }}
9795
9896 promote-image :
9997 name : Promote Image (${{ matrix.image }})
10098 needs : [build, tests]
10199 runs-on : ubuntu-latest
102- if : ${{ env.PUSH }}
100+ if : ${{ inputs.push || (github.ref_protected && github.event_name != 'pull_request') }}
103101 strategy :
104102 fail-fast : false
105103 matrix :
You can’t perform that action at this time.
0 commit comments