Trying multi-platfom docker build

This commit is contained in:
Andris Reinman 2023-03-30 13:39:18 +03:00
parent 0196cc166e
commit 5ef4b6a81d
No known key found for this signature in database
GPG key ID: DC6C83F4D584D364
2 changed files with 2 additions and 1 deletions

View file

@ -47,6 +47,7 @@ jobs:
uses: docker/build-push-action@v2
with:
context: .
platforms: linux/amd64,linux/arm/v7,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

View file

@ -1,4 +1,4 @@
FROM node:lts-alpine
FROM --platform=$BUILDPLATFORM node:lts-alpine
RUN apk --no-cache add make git dumb-init openssl