File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,12 +14,14 @@ jobs:
1414 - uses : actions/setup-go@v3
1515 with :
1616 go-version : ' ^1.18.0'
17- - name : Build
18- run : cd src && CGO_ENABLED=0 go build -ldflags '-extldflags "-static"' -tags timetzdata -o ../aws-codeartifact-proxy
17+ - name : Build x86_64
18+ run : cd src && CGO_ENABLED=0 go build -ldflags '-extldflags "-static"' -tags timetzdata -o ../aws-codeartifact-proxy-x86_64
19+ - name : Build arm64
20+ run : cd src && CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags '-extldflags "-static"' -tags timetzdata -o ../aws-codeartifact-proxy-arm64
1921 - name : Github Release
2022 uses : softprops/action-gh-release@v1
2123 with :
22- files : aws-codeartifact-proxy
24+ files : aws-codeartifact-proxy-x86_64 aws-codeartifact-proxy-arm64
2325 - name : Log in to Docker Hub
2426 uses : docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
2527 with :
You can’t perform that action at this time.
0 commit comments