feat: support arm64 (#1022)

* feat: support arm64

* feat: support arm64
This commit is contained in:
Manuel
2024-09-02 17:26:04 +02:00
committed by GitHub
parent d69fed6514
commit 0c657276a5
2 changed files with 8 additions and 3 deletions

View File

@@ -11,6 +11,11 @@ on:
required: false
default: true
description: Send notifications
push-image:
type: boolean
required: false
default: true
description: Push Docker Image
permissions:
contents: write
@@ -93,9 +98,9 @@ jobs:
id: buildPushAction
uses: docker/build-push-action@v6
with:
platforms: linux/amd64 # we currently do't build for linux/arm64 as it's really slow and we'll move to a self hosted runner for that or use the official github runner, once it's available
platforms: linux/amd64,linux/arm64
context: .
push: true
push: ${{ github.events.inputs.push-image && 'true' || 'false' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
network: host

View File

@@ -1,4 +1,4 @@
FROM node:20.17.0-alpine AS base
FROM --platform=linux/amd64 node:20.17.0-alpine AS base
FROM base AS builder
RUN apk add --no-cache libc6-compat