Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Also build production docker images in parallel

Roland Geiderb3f2be2f650c
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index e88cee14a..72b2eaca8 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -38,8 +38,11 @@ jobs:
tags: wger/demo:latest,wger/demo:2.2-dev,wger/apache:latest,wger/apache:2.2-dev
prod:
- name: Build production image
runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ arch: [ 'amd64', 'arm64' ]
+ name: Build production image (linux/${{ matrix.arch }})
steps:
- name: Checkout
uses: actions/checkout@v3
@@ -62,5 +65,5 @@ jobs:
context: .
push: true
file: extras/docker/development/Dockerfile
- platforms: linux/amd64,linux/arm64
+ platforms: linux/${{ matrix.arch }}
tags: wger/server:latest,wger/server:2.2-dev,wger/devel:latest,wger/devel:2.2-dev