Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

Commit

Permalink
Merge pull request #29 from ItsDrike/docker-multi-platform
Browse files Browse the repository at this point in the history
👷 Build docker arm64 as well
  • Loading branch information
Paillat-dev authored Jul 21, 2024
2 parents c0923e6 + 3bd70cd commit 5ba889e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

# Allows us to build images with different cpu architectures than the github runner (arm64)
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

# Login against a Docker registry except on PR
# https://github.com/docker/login-action
- name: Log into registry ${{ env.REGISTRY }}
Expand All @@ -64,8 +68,9 @@ jobs:
# https://github.com/docker/build-push-action
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
Expand Down

0 comments on commit 5ba889e

Please sign in to comment.