Skip to content

ci: fix matrix docker-build #752

ci: fix matrix docker-build

ci: fix matrix docker-build #752

Workflow file for this run

name: Automated builds
on:
push:
paths:
- "images/**"
- ".github/workflows/*"
pull_request: # They will only build the containers, not push them to our registry
paths:
- "images/**"
- ".github/workflows/*"
types:
- opened
- edited
- ready_for_review
- review_requested
- reopened
# schedule:
# - cron: "0 0 * * *" # nightly
jobs:
base:
uses: ./.github/workflows/docker-build-and-publish.yml

Check failure on line 23 in .github/workflows/auto-build.yml

View workflow run for this annotation

GitHub Actions / Automated builds

Invalid workflow file

The workflow is not valid. In .github/workflows/auto-build.yml (Line: 23, Col: 11): Error from called workflow games-on-whales/gow/.github/workflows/docker-build-and-publish.yml@fdeea45962b572d539dbcaf09a015e827502afa7 (Line: 41, Col: 14): Unrecognized named-value: 'ARM64'. Located at position 39 within expression: contains(matrix.platform, 'arm64') && ARM64 || ubuntu-latest In .github/workflows/auto-build.yml (Line: 23, Col: 11): Error from called workflow games-on-whales/gow/.github/workflows/docker-build-and-publish.yml@fdeea45962b572d539dbcaf09a015e827502afa7 (Line: 230, Col: 19): Unrecognized named-value: 'jobs'. Located at position 1 within expression: jobs.docker.steps.prep.outputs.images
with:
image_name: "base"
platforms: "linux/amd64,linux/arm64"
secrets: inherit
base-app:
needs: [ base ]
uses: ./.github/workflows/docker-build-and-publish.yml
with:
image_name: "base-app"
base_image: "${{ needs.base.outputs.image_tag }}"
platforms: "linux/amd64,linux/arm64"
secrets: inherit
apps:
needs: [ base, base-app ]
strategy:
matrix:
image:
- { name: xorg, platforms: "linux/amd64" }
- { name: pulseaudio, platforms: "linux/amd64" }
- { name: udevd, platforms: "linux/amd64" }
- { name: sunshine, platforms: "linux/amd64" }
- { name: retroarch, platforms: "linux/amd64" }
- { name: firefox, platforms: "linux/amd64,linux/arm64" }
- { name: steam, platforms: "linux/amd64" }
- { name: pegasus, platforms: "linux/amd64" }
- { name: lutris, platforms: "linux/amd64" }
- { name: heroic-games-launcher, platforms: "linux/amd64" }
#- { name: es-de, platforms: "linux/amd64" }
fail-fast: false
uses: ./.github/workflows/docker-build-and-publish.yml
with:
image_name: "${{ matrix.image.name }}"
base_image: "${{ needs.base.outputs.image_tag }}"
base_app_image: "${{ needs.base-app.outputs.image_tag }}"
platforms: "${{ matrix.image.platforms }}"
secrets: inherit