2
0
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:
Revant Nandgaonkar 2022-04-11 21:30:54 +05:30 committed by GitHub
parent 0b952833b7
commit d3906b2620
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 14 deletions

View File

@ -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 }}

View File

@ -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 }}

View File

@ -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 }}"