File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242 # Since building Vector from source, this build runs out of disk space.
4343 # As such, we use the Ubicloud runners which provide bigger disks.
4444 runners : ubicloud
45+ publish-to-quay : false
Original file line number Diff line number Diff line change 2626 - `ubicloud`: Both the x86_64 and the aarch64 builds run on the Ubicloud runners
2727 default : mixed
2828 type : string
29+ publish-to-quay :
30+ description : |
31+ Whether to publish to quay.io or not. If `true`, the `quay-robot-secret` needs to be
32+ provided.
33+ type : boolean
34+ default : true
2935 secrets :
3036 harbor-robot-secret :
3137 description : The secret for the Harbor robot user used to push images and manifest
3238 required : true
3339 quay-robot-secret :
3440 description : The secret for the Quay.io robot user used to push images and manifest
35- required : true
3641 slack-token :
3742 description : The Slack token used to post failure notifications
3843 required : true
@@ -133,6 +138,7 @@ jobs:
133138 source-image-uri : localhost/${{ inputs.registry-namespace }}/${{ inputs.product-name }}:${{ steps.build.outputs.image-manifest-tag }}
134139
135140 - name : Publish Container Image on quay.io
141+ if : inputs.publish-to-quay
136142 uses : stackabletech/actions/publish-image@8a8085be0a8cec3d24ad3970e602d65be487da6a # v0.14.1
137143 with :
138144 image-registry-uri : quay.io
@@ -179,6 +185,7 @@ jobs:
179185 image-index-manifest-tag : ${{ matrix.versions }}-stackable${{ inputs.sdp-version }}
180186
181187 - name : Publish and Sign Image Index Manifest to quay.io
188+ if : inputs.publish-to-quay
182189 uses : stackabletech/actions/publish-image-index-manifest@8a8085be0a8cec3d24ad3970e602d65be487da6a # v0.14.1
183190 with :
184191 image-registry-uri : quay.io
You can’t perform that action at this time.
0 commit comments