File tree Expand file tree Collapse file tree 5 files changed +9
-1
lines changed Expand file tree Collapse file tree 5 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ name: Docker CI
33on :
44 workflow_call :
55 inputs :
6+ platforms :
7+ description : ' List of target platforms for Docker build.'
8+ required : true
9+ type : string
610 image-name :
711 description : ' A Docker image name passed from the caller workflow.'
812 required : true
5660 uses : docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
5761 with :
5862 context : ${{ inputs.path }}
59- platforms : linux/amd64,linux/arm64
63+ platforms : ${{ inputs.platforms }}
6064 push : ${{ github.event_name != 'pull_request' }}
6165 tags : ${{ steps.meta.outputs.tags }}
6266 labels : ${{ steps.meta.outputs.labels }}
Original file line number Diff line number Diff line change 2525 id-token : write
2626 uses : ./.github/workflows/docker-build.yml
2727 with :
28+ platforms : linux/amd64,linux/arm64
2829 image-name : ghcr.io/hyperledger-labs/fabric-builder-k8s/sample-go-contract
2930 path : samples/go-contract
3031 chaincode-label : go-contract
Original file line number Diff line number Diff line change 2525 id-token : write
2626 uses : ./.github/workflows/docker-build.yml
2727 with :
28+ platforms : linux/amd64
2829 image-name : ghcr.io/hyperledger-labs/fabric-builder-k8s/sample-java-contract
2930 path : samples/java-contract
3031 chaincode-label : java-contract
Original file line number Diff line number Diff line change 2525 id-token : write
2626 uses : ./.github/workflows/docker-build.yml
2727 with :
28+ platforms : linux/amd64,linux/arm64
2829 image-name : ghcr.io/hyperledger-labs/fabric-builder-k8s/sample-node-contract
2930 path : samples/node-contract
3031 chaincode-label : node-contract
Original file line number Diff line number Diff line change 2929 id-token : write
3030 uses : ./.github/workflows/docker-build.yml
3131 with :
32+ platforms : linux/amd64,linux/arm64
3233 image-name : ghcr.io/hyperledger-labs/fabric-builder-k8s/k8s-fabric-peer
3334 path : .
You can’t perform that action at this time.
0 commit comments