File tree Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 3535 image_name : authorization_jvm_aarch64
3636 image_file : authorization_jvm_aarch64.yaml
3737 image_platform : linux/arm64
38+ use_qemu : true
3839 push-multi-arch-image-jvm :
3940 needs :
4041 - build-oci-image-jvm-amd64
Original file line number Diff line number Diff line change 2222 required : false
2323 type : string
2424 default : linux/amd64
25+ use_qemu :
26+ required : false
27+ type : boolean
28+ default : false
2529jobs :
2630 build :
2731 runs-on : ubuntu-latest
4044 CURRENT_VERSION=$(./mvnw -f ${{ inputs.pom_dir }} help:evaluate -Dexpression=project.version -q -DforceStdout)
4145 NEW_VERSION=$(echo $CURRENT_VERSION | sed "s/-SNAPSHOT/.${GITHUB_SHA}/")
4246 ./mvnw -f ${{ inputs.pom_dir }} versions:set -DnewVersion=${NEW_VERSION} -DgenerateBackupPoms=false --no-transfer-progress
47+ - name : Set up QEMU
48+ if : inputs.use_qemu
49+ uses : docker/setup-qemu-action@v3
50+ with :
51+ platforms : ${{ inputs.image_platform }}
4352 - name : build image (Paketo Buildpack)
4453 run : |
4554 OS_ARCH=$(./mvnw -f ${{ inputs.pom_dir }} help:evaluate -Dexpression=os.arch -q -DforceStdout)
Original file line number Diff line number Diff line change 3535 image_name : todo-api_jvm_aarch64
3636 image_file : todo-api_jvm_aarch64.yaml
3737 image_platform : linux/arm64
38+ use_qemu : true
3839 push-multi-arch-image-jvm :
3940 needs :
4041 - build-oci-image-jvm-amd64
Original file line number Diff line number Diff line change 3737 image_name : todo-frontend_jvm_aarch64
3838 image_file : todo-frontend_jvm_aarch64.yaml
3939 image_platform : linux/arm64
40+ use_qemu : true
4041 push-multi-arch-image-jvm :
4142 needs :
4243 - build-oci-image-jvm-amd64
You can’t perform that action at this time.
0 commit comments