Add platforms to bake file to include m1 (arm64) (#733)
* add platforms to bake file to include m1 (arm64) * add platforms to bake file to include m1 (arm64) * rebased to latest main * update docker/bake-action to latest version * test action fix * add qemu step * revert to older version of bake * remove arm64 from breaking build * test with vanilla buildx * cleanup * added platforms directive to default args * use build_push from current branch * explicit build_push dependency * use build push from current branch * specify branch name * experiment with syntax * use commit id for tag * experiment to extract branch from context * ditto * one more variation * revert * revert build push to version in current main * added comment to force build * force another build * comment out build on PR * test if event is pull request * first test, event is "none" * fix typo * correct syntax * set event name correctly * explicit variable for multi arch build * test multi arch build * test negated conditional * enable PR build * use env variable to control multi arch * test with env var * revert * revert * try syntax variation * check val * try variation * add platforms * re-enable PR builds * revert file * untested but should work * switch from env var to input for action * test against restlessronin branch * fix typo * cleanups * revert action link * refactor to explicit platform list * try variation * remove env toggle * retry * try multi build * ternary workaround * cleanup * revert action branch * fix typo * yat * revert to origin CI action * post review changes (untested) * no arm for v12
This commit is contained in:
2
.github/workflows/build_stable.yml
vendored
2
.github/workflows/build_stable.yml
vendored
@@ -40,6 +40,7 @@ jobs:
|
||||
repo: erpnext
|
||||
version: "12"
|
||||
push: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}
|
||||
platforms: linux/amd64
|
||||
secrets:
|
||||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
@@ -50,6 +51,7 @@ jobs:
|
||||
repo: erpnext
|
||||
version: "13"
|
||||
push: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}
|
||||
platforms: linux/amd64,linux/arm64
|
||||
secrets:
|
||||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user