ci: for arm64 build frappe/erpnext like frappe/bench (#1587)
This commit is contained in:
committed by
GitHub
parent
9601c1615e
commit
1e0fba9959
9
.github/workflows/docker-build-push.yml
vendored
9
.github/workflows/docker-build-push.yml
vendored
@@ -45,14 +45,14 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Setup QEMU
|
||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v3
|
||||||
|
with:
|
||||||
|
image: tonistiigi/binfmt:latest
|
||||||
|
platforms: all
|
||||||
|
|
||||||
- name: Setup Buildx
|
- name: Setup Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
with:
|
|
||||||
driver-opts: network=host
|
|
||||||
platforms: linux/${{ matrix.arch }}
|
|
||||||
|
|
||||||
- name: Get latest versions
|
- name: Get latest versions
|
||||||
run: python3 ./.github/scripts/get_latest_tags.py --repo ${{ inputs.repo }} --version ${{ inputs.version }}
|
run: python3 ./.github/scripts/get_latest_tags.py --repo ${{ inputs.repo }} --version ${{ inputs.version }}
|
||||||
@@ -95,3 +95,4 @@ jobs:
|
|||||||
uses: docker/bake-action@v6.5.0
|
uses: docker/bake-action@v6.5.0
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
|
set: "*.platform=linux/amd64,linux/arm64"
|
||||||
|
|||||||
Reference in New Issue
Block a user