File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1515 platform :
1616 type : choice
1717 description : " Platform string to use while building and publishing the packages (e.g. linux_amd64 linux_arm64)"
18- default : ' linux_amd64'
19- options :
18+ default : linux_amd64 linux_arm64
19+ options :
20+ - linux_amd64 linux_arm64
2021 - linux_amd64
2122 - linux_arm64
2223 required : true
2324 go-version :
2425 description : ' Go version to use if building needs to be done'
25- default : ' 1.24 '
26+ default : ' 1.25 '
2627 required : false
2728 size :
2829 description : " Number of smaller provider packages to build and push with each build job"
@@ -117,12 +118,12 @@ jobs:
117118 run : |
118119 go install golang.org/x/tools/cmd/goimports@latest
119120 make generate
120- make SUBPACKAGES="${{ inputs.subpackages }}" PLATFORMS=${{ inputs.platform }} build
121+ make SUBPACKAGES="${{ inputs.subpackages }}" PLATFORMS=" ${{ inputs.platform }}" build
121122 env :
122123 # We're using docker buildx, which doesn't actually load the images it
123124 # builds by default. Specifying --load does so.
124125 BUILD_ARGS : " --load"
125126
126127 - name : Publish Artifacts
127128 run : |
128- make SUBPACKAGES_FOR_BATCH="${{ inputs.subpackages }}" XPKG_REG_ORGS="${{ env.CROSSPLANE_REGORG }}" VERSION=${{ inputs.version }} BATCH_PLATFORMS=$ {{ inputs.platform }} publish-subpackages
129+ make SUBPACKAGES_FOR_BATCH="${{ inputs.subpackages }}" XPKG_REG_ORGS="${{ env.CROSSPLANE_REGORG }}" VERSION=${{ inputs.version }} BATCH_PLATFORMS="$(echo $ {{ inputs.platform }} | tr ' ' ',')" publish-subpackages
You can’t perform that action at this time.
0 commit comments