File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Copyright IBM Corp. All Rights Reserved.
2- #
3- # SPDX-License-Identifier: Apache-2.0
4- #
51name : Release Fabric-X Committer Docker Image
62
73on :
84 push :
95 tags :
106 - " v*" # Trigger on tags like v0.0.1
117
8+ permissions :
9+ contents : read
10+ packages : write
11+
1212jobs :
1313 docker-release :
1414 runs-on : ubuntu-latest
@@ -33,11 +33,19 @@ jobs:
3333 id : extract
3434 run : echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
3535
36- - name : Build and push multi-platform Docker image
36+ - name : Set up Go
37+ uses : actions/setup-go@v5
38+ with :
39+ go-version : ' 1.21'
40+
41+ - name : Build cross-architecture binaries
42+ run : make build-arch
43+
44+ - name : Build and Push Multi-Platform Docker Image for Committer
3745 uses : docker/build-push-action@v6
3846 with :
3947 context : .
40- file : docker/images/release/Dockerfile
48+ file : ./ docker/images/release/Dockerfile
4149 platforms : linux/amd64,linux/arm64,linux/s390x
4250 push : true
4351 build-args : |
You can’t perform that action at this time.
0 commit comments