Skip to content

Commit

Permalink
fix: add Multi-platform image with GitHub Actions, #414
Browse files Browse the repository at this point in the history
  • Loading branch information
sadok-f committed Feb 25, 2024
1 parent a9525c9 commit 2ab0d07
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/cd.yml
Expand Up @@ -50,6 +50,14 @@ jobs:
name: Docker Build and Push
outputs:
new_tag_version: ${{ needs.release.outputs.new_tag_version }}
strategy:
fail-fast: false
matrix:
platform:
- linux/amd64
- linux/arm/v6
- linux/arm/v7
- linux/arm64
steps:
- name: Code Checkout
uses: actions/checkout@v4
Expand All @@ -72,6 +80,7 @@ jobs:
with:
push: true
context: .
platforms: ${{ matrix.platform }}
file: ./Dockerfile
tags: |
flyimg/flyimg-build:latest
Expand Down

0 comments on commit 2ab0d07

Please sign in to comment.