Skip to content

Commit

Permalink
fix(docker): Publishing Mutli-Platform Images. (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
whizzzkid authored Nov 1, 2023
1 parent 97afc53 commit e780636
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ jobs:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
platforms: linux/amd64,linux/arm64

- name: Docker meta
id: meta
Expand All @@ -44,3 +42,4 @@ jobs:
push: ${{ github.event_name == 'push' || github.event.inputs.push == 'true' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/arm64, linux/amd64
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-slim as builder
FROM --platform=$BUILDPLATFORM node:20-slim as builder

RUN apt-get update
RUN apt-get install -y build-essential cmake git libssl-dev tini
Expand Down

0 comments on commit e780636

Please sign in to comment.