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

Commit

Permalink
fix(CI): split building docker images for different platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
Wittano authored Oct 29, 2023
1 parent 62dc872 commit d3aa296
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
platform:
- linux/amd64
- linux/arm64
steps:
- name: Check out the repo
uses: actions/checkout@v4
Expand All @@ -30,7 +36,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
platforms: ${{ matrix.platform }}
file: ./Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
Expand Down

0 comments on commit d3aa296

Please sign in to comment.