mirror of
https://github.com/nodemailer/wildduck.git
synced 2024-12-27 02:10:52 +08:00
Trying multi-platfom docker build
This commit is contained in:
parent
0196cc166e
commit
5ef4b6a81d
2 changed files with 2 additions and 1 deletions
1
.github/workflows/docker.yml
vendored
1
.github/workflows/docker.yml
vendored
|
@ -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 }}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:lts-alpine
|
||||
FROM --platform=$BUILDPLATFORM node:lts-alpine
|
||||
|
||||
RUN apk --no-cache add make git dumb-init openssl
|
||||
|
||||
|
|
Loading…
Reference in a new issue