Skip to content

Automated builds

Automated builds #426

Workflow file for this run

name: Automated builds
on:
push:
pull_request: # They will only build the containers, not push them
types:
- opened
- 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
with:
image_name: "base-app"
base_image: "${{ needs.base.outputs.image_tag }}"
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" }
- { name: steam, 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