Skip to content

Commit

Permalink
Multi-architecture Docker image build
Browse files Browse the repository at this point in the history
The Docker image is now built with multiple architecture support.

For now, the target architectures are "amd64" and "arm64".
  • Loading branch information
Gabriel-434 committed Jan 29, 2024
1 parent a755cd7 commit 2f09716
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ jobs:
- name: Check out the repo
uses: actions/checkout@v4

- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v3
with:
platforms: linux/amd64,linux/arm64

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

Expand All @@ -39,6 +45,7 @@ jobs:
with:
context: .
file: ./Dockerfile
platforms: ${{ steps.qemu.outputs.platforms }}
push: true
tags: ${{ steps.meta.outputs.tags }}
cache-from: type=gha
Expand Down

0 comments on commit 2f09716

Please sign in to comment.