Skip to content

ci(arm64): keep it super simple #734

ci(arm64): keep it super simple

ci(arm64): keep it super simple #734

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