aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/publish.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 493f31b..04a8742 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -12,8 +12,13 @@ jobs:
publish:
name: Publish Docker Image to ghcr.io
runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ platform: [linux/amd64, linux/arm64]
permissions:
packages: write
+
steps:
- name: Check out the repo
uses: actions/checkout@v4
@@ -58,6 +63,6 @@ jobs:
file: ./Dockerfile
push: true
tags: ${{ env.DOCKER_IMAGE_TAGS }}
- platforms: linux/amd64,linux/arm64
+ platforms: ${{ matrix.platform }}
cache-from: type=gha
cache-to: type=gha,mode=max \ No newline at end of file