Try making arm64 image
Some checks failed
Build & Push Docker Image / build (push) Failing after 1m9s
Some checks failed
Build & Push Docker Image / build (push) Failing after 1m9s
This commit is contained in:
@@ -11,6 +11,9 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
# Set to 'true' if you need to compile native modules from source (e.g. better-sqlite3 on arm)
|
||||
BUILD_FROM_SOURCE: 'false'
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
@@ -45,6 +48,10 @@ jobs:
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
# Build multi-arch images for amd64 and arm64
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
build-args: |
|
||||
BUILD_FROM_SOURCE=${{ env.BUILD_FROM_SOURCE }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
Reference in New Issue
Block a user