File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed
Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 33name : Docker Publish CLI
44
55on :
6- push :
7- tags :
8- - " v*.*.*"
96 schedule :
107 - cron : " 0 0 * * *"
118 # Trigger without any parameters a proactive rebuild
1714 tag_override :
1815 description : " Override the tag"
1916 workflow_call :
17+ inputs :
18+ push :
19+ description : ' Push the image to registry'
20+ type : boolean
21+ default : true
2022
2123env :
2224 REGISTRY : ghcr.io
98100 with :
99101 context : ./
100102 file : ./Dockerfile.build
101- push : true
103+ push : ${{ inputs.push != false }}
102104 tags : ${{ steps.docker_tagging.outputs.docker_tags }}
103105 labels : ${{ steps.meta.outputs.labels }}
104106 cache-from : type=gha
Original file line number Diff line number Diff line change @@ -331,6 +331,13 @@ jobs:
331331 # Wait until all the binaries have been built to set the latest release.
332332 gh release edit ${{ needs.prepare.outputs.tag_name }} --latest
333333
334+ docker-publish :
335+ name : Docker build and publish
336+ needs : [cargo-prove-release, prepare]
337+ uses : ./.github/workflows/docker-publish.yml
338+ with :
339+ push : ${{ inputs.dry_run != true }}
340+
334341 toolchain-test :
335342 name : " Test toolchain installation (${{ matrix.name }})"
336343 needs : [sp1-gpu-server-release, cargo-prove-release, prepare]
You can’t perform that action at this time.
0 commit comments