Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Revert building the different archs in parallel

Roland Geider7c7f86c29d38
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index 72b2eaca8..139a99021 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -7,11 +7,8 @@ on:
jobs:
apache:
+ name: Build demo image
runs-on: ubuntu-latest
- strategy:
- matrix:
- arch: [ 'amd64', 'arm64' ]
- name: Build apache image (linux/${{ matrix.arch }})
steps:
- name: Checkout
uses: actions/checkout@v3
@@ -34,15 +31,12 @@ jobs:
context: .
push: true
file: extras/docker/demo/Dockerfile
- platforms: linux/${{ matrix.arch }}
+ platforms: linux/amd64,linux/arm64
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
@@ -65,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