Skip to content

Commit

Permalink
Merge pull request #8 from pascaliske/feature/multi-platform-builds
Browse files Browse the repository at this point in the history
  • Loading branch information
riesinger committed Mar 8, 2023
2 parents d5cc9d2 + 8631329 commit 2a5ecf9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ env:
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}

# Target platforms
PLATFORMS: linux/amd64,linux/arm/v7,linux/arm64

jobs:
build:
Expand Down Expand Up @@ -63,6 +64,7 @@ jobs:
uses: docker/build-push-action@c84f38281176d4c9cdb1626ffafcd6b3911b5d94
with:
context: .
platforms: ${{ env.PLATFORMS }}
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 2a5ecf9

Please sign in to comment.