File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed
Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change 55 paths :
66 - ' docker/bitcoin-mutinynet.version'
77 - ' docker/Dockerfile.bitcoin-mutinynet'
8+ - ' docker/Dockerfile.bitcoin-mutinynet.presynced'
89 workflow_dispatch :
10+ inputs :
11+ skip_presynced :
12+ description : ' Skip pre-synced image build'
13+ required : false
14+ default : false
15+ type : boolean
916
1017jobs :
1118 build-and-push :
3441 username : ${{ secrets.DOCKERHUB_USERNAME }}
3542 password : ${{ secrets.DOCKERHUB_TOKEN }}
3643
37- - name : Build and push
44+ - name : Build and push base image
3845 uses : docker/build-push-action@v5
3946 with :
4047 context : .
5057 SHA256_AMD64=${{ steps.version.outputs.SHA256_AMD64 }}
5158 FILENAME_ARM64=${{ steps.version.outputs.FILENAME_ARM64 }}
5259 SHA256_ARM64=${{ steps.version.outputs.SHA256_ARM64 }}
60+
61+ - name : Build and push pre-synced image
62+ if : ${{ inputs.skip_presynced != true }}
63+ uses : docker/build-push-action@v5
64+ with :
65+ context : .
66+ file : docker/Dockerfile.bitcoin-mutinynet.presynced
67+ platforms : linux/amd64,linux/arm64
68+ push : true
69+ tags : |
70+ ${{ secrets.DOCKERHUB_USERNAME }}/bitcoin-mutinynet:presynced-${{ steps.version.outputs.TAG }}
71+ ${{ secrets.DOCKERHUB_USERNAME }}/bitcoin-mutinynet:presynced-latest
72+ build-args : |
73+ TAG=${{ steps.version.outputs.TAG }}
You can’t perform that action at this time.
0 commit comments