mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-08 14:21:05 +00:00
ci: do not build arm64 images (#777)
* ci: do not build arm64 images * ci: do not build arm64 images for develop branch * ci: remove common setup qemu step * ci: remove common setup platform inputs
This commit is contained in:
parent
0b952833b7
commit
d3906b2620
2
.github/workflows/build_develop.yml
vendored
2
.github/workflows/build_develop.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
||||
repo: erpnext
|
||||
version: develop
|
||||
push: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}
|
||||
platforms: linux/amd64,linux/arm64
|
||||
platforms: linux/amd64
|
||||
secrets:
|
||||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
4
.github/workflows/build_stable.yml
vendored
4
.github/workflows/build_stable.yml
vendored
@ -51,7 +51,7 @@ jobs:
|
||||
repo: erpnext
|
||||
version: "13"
|
||||
push: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}
|
||||
platforms: linux/amd64,linux/arm64
|
||||
platforms: linux/amd64
|
||||
secrets:
|
||||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
@ -62,7 +62,7 @@ jobs:
|
||||
repo: erpnext
|
||||
version: "14"
|
||||
push: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}
|
||||
platforms: linux/amd64,linux/arm64
|
||||
platforms: linux/amd64
|
||||
secrets:
|
||||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
11
.github/workflows/docker-build-push.yml
vendored
11
.github/workflows/docker-build-push.yml
vendored
@ -14,10 +14,6 @@ on:
|
||||
push:
|
||||
required: true
|
||||
type: boolean
|
||||
platforms:
|
||||
required: true
|
||||
type: string
|
||||
description: "list of target platforms"
|
||||
secrets:
|
||||
DOCKERHUB_USERNAME:
|
||||
required: true
|
||||
@ -38,12 +34,6 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
with:
|
||||
image: tonistiigi/binfmt:latest
|
||||
platforms: all
|
||||
|
||||
- name: Setup Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
with:
|
||||
@ -87,4 +77,3 @@ jobs:
|
||||
uses: docker/bake-action@v1.7.0
|
||||
with:
|
||||
push: true
|
||||
set: "*.platform=${{ inputs.platforms }}"
|
||||
|
Loading…
Reference in New Issue
Block a user