Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Fix building the different architectures

Roland Geider9b10c814faa9
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index 383e707b7..1d22738fd 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -35,11 +35,8 @@ 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 +59,5 @@ jobs:
context: .
push: true
file: extras/docker/development/Dockerfile
- platforms: linux/${{ matrix.arch }}
+ platforms: linux/amd64,linux/arm64
tags: wger/server:latest,wger/server:2.2-dev,wger/devel:latest,wger/devel:2.2-dev