Skip to content

ci(arm64):: KISS split for better maintability #745

ci(arm64):: KISS split for better maintability

ci(arm64):: KISS split for better maintability #745

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-amd64:
uses: ./.github/workflows/docker-build-and-publish.yml
with:
image_name: "base"
secrets: inherit
base-app-amd64:
needs: [base-amd64]
uses: ./.github/workflows/docker-build-and-publish.yml
with:
image_name: "base-app"
base_image: "${{ needs.base-amd64.outputs.image_tag }}"
secrets: inherit
apps-amdd64:
needs: [base-amd64, base-app-amd64]
strategy:
matrix:
image:
- xorg
- pulseaudio
- udevd
- sunshine
- retroarch
- firefox
- steam
- pegasus
- lutris
- heroic-games-launcher
#- es-de
fail-fast: false
uses: ./.github/workflows/docker-build-and-publish.yml
with:
image_name: "${{ matrix.image }}"
base_image: "${{ needs.base-amd64.outputs.image_tag }}"
base_app_image: "${{ needs.base-app-amd64.outputs.image_tag }}"
secrets: inherit
base-arm64:
uses: ./.github/workflows/docker-build-and-publish.yml
with:
image_name: "base"
runner: "ARM64"
platforms: "linux/arm64"
secrets: inherit
base-app-arm64:
needs: [base-arm64]
uses: ./.github/workflows/docker-build-and-publish.yml
with:
image_name: "base-app"
base_image: "${{ needs.base-arm64.outputs.image_tag }}"
runner: "ARM64"
platforms: "linux/arm64"
secrets: inherit
apps-arm64:
needs: [base-arm64, base-app-arm64]
strategy:
matrix:
image:
- firefox
fail-fast: false
uses: ./.github/workflows/docker-build-and-publish.yml
with:
image_name: "${{ matrix.image }}"
base_image: "${{ needs.base-arm64.outputs.image_tag }}"
base_app_image: "${{ needs.base-app-arm64.outputs.image_tag }}"
runner: "ARM64"
platforms: "linux/arm64"
secrets: inherit