File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,10 +15,11 @@ permissions:
1515
1616jobs :
1717 release :
18- if : ${{ startsWith(github.ref, 'refs/tags/ ') }}
18+ if : ${{ startsWith(github.ref, 'refs/heads/release- ') }}
1919 uses : ./.github/workflows/reusable-build.yml
2020 with :
2121 containerTag : ${{ inputs.releaseVersion }}
22+ pushContainers : true
2223 secrets :
2324 QUAY_USER : ${{ secrets.QUAY_USER }}
2425 QUAY_PASS : ${{ secrets.QUAY_PASS }}
Original file line number Diff line number Diff line change 88 required : false
99 type : string
1010 default : ' latest'
11+ pushContainers :
12+ description : ' Force push containers (used by release workflow)'
13+ required : false
14+ type : boolean
15+ default : false
1116 secrets :
1217 QUAY_USER :
1318 required : false
5964 name : Push Containers
6065 needs :
6166 - build-containers
62- if : ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }}
67+ if : ${{ github.ref == 'refs/heads/main' || inputs.pushContainers }}
6368 permissions :
6469 contents : read
6570 id-token : write
You can’t perform that action at this time.
0 commit comments