Skip to content

Commit

Permalink
chore(github): implement multi-platform docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
pascaliske committed Mar 8, 2023
1 parent d5cc9d2 commit 8631329
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 8631329

Please sign in to comment.