Skip to content

Commit

Permalink
Add multi-platform build
Browse files Browse the repository at this point in the history
  • Loading branch information
arska authored Feb 17, 2023
1 parent 008d8ce commit 67fbcdf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Docker labels & tags metadata
id: meta
uses: docker/metadata-action@v4
Expand All @@ -31,3 +35,6 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }} # push both tag name and "latest" on new git tag
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64
cache-from: type=gha
cache-to: type=gha,mode=max

0 comments on commit 67fbcdf

Please sign in to comment.