ci: dont use matrix for multiplatform build

This reverts commit 9092d1189b.

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

# Conflicts:
#	.github/workflows/ci-main.yml
#	.github/workflows/ci-outpost.yml
#	.github/workflows/release-publish.yml
This commit is contained in:
Jens Langhammer 2021-12-01 15:27:37 +01:00
parent dd8909c9b2
commit e7144649d5
1 changed files with 2 additions and 11 deletions

View File

@ -8,12 +8,6 @@ jobs:
# Build # Build
build-server: build-server:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
arch:
- 'linux/amd64'
- 'linux/arm64'
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up QEMU - name: Set up QEMU
@ -40,7 +34,7 @@ jobs:
beryju/authentik:latest, beryju/authentik:latest,
ghcr.io/goauthentik/server:2021.10.4, ghcr.io/goauthentik/server:2021.10.4,
ghcr.io/goauthentik/server:latest ghcr.io/goauthentik/server:latest
platforms: ${{ matrix.arch }} platforms: linux/amd64,linux/arm64
context: . context: .
- name: Building Docker Image (stable) - name: Building Docker Image (stable)
if: ${{ github.event_name == 'release' && !contains('2021.10.4', 'rc') }} if: ${{ github.event_name == 'release' && !contains('2021.10.4', 'rc') }}
@ -59,9 +53,6 @@ jobs:
type: type:
- proxy - proxy
- ldap - ldap
arch:
- 'linux/amd64'
- 'linux/arm64'
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
@ -92,7 +83,7 @@ jobs:
ghcr.io/goauthentik/${{ matrix.type }}:2021.10.4, ghcr.io/goauthentik/${{ matrix.type }}:2021.10.4,
ghcr.io/goauthentik/${{ matrix.type }}:latest ghcr.io/goauthentik/${{ matrix.type }}:latest
file: ${{ matrix.type }}.Dockerfile file: ${{ matrix.type }}.Dockerfile
platforms: ${{ matrix.arch }} platforms: linux/amd64,linux/arm64
- name: Building Docker Image (stable) - name: Building Docker Image (stable)
if: ${{ github.event_name == 'release' && !contains('2021.10.4', 'rc') }} if: ${{ github.event_name == 'release' && !contains('2021.10.4', 'rc') }}
run: | run: |