-
Notifications
You must be signed in to change notification settings - Fork 68
50 lines (45 loc) · 1.5 KB
/
auto-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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: pegasus, platforms: "linux/amd64" }
- { name: lutris, 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