Skip to content

Commit

Permalink
Adding multi-platform support (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
sysadmin4j authored May 28, 2024
1 parent aec82b4 commit 94d7cf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
id: build-and-push
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
with:
platforms: linux/amd64,linux/arm64
platforms: linux/arm64,linux/amd64
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM fedora:40
FROM --platform=$BUILDPLATFORM fedora:40

ARG USERNAME=ide
ARG GROUPNAME=ide
Expand Down

0 comments on commit 94d7cf3

Please sign in to comment.