-
Notifications
You must be signed in to change notification settings - Fork 18
83 lines (66 loc) · 2.34 KB
/
build_and_publish_all_images.yaml
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
name: Build & publish all images
on:
push:
branches:
- dev
- master
paths:
- ".github/**"
workflow_dispatch:
jobs:
# Note: When modifying this job, copy modifications to all other workflows' image jobs.
all_images:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- name: app-proxy
source_directory: images/app-proxy
- name: app-streaming
version_suffix: -bionic
dockerfile: Dockerfile.bionic
source_directory: images/app-streaming
- name: app-streaming
version_suffix: -buster
source_directory: images/app-streaming
- name: app-streaming
version_suffix: -focal
dockerfile: Dockerfile.focal
source_directory: images/app-streaming
- name: app-streaming
version_suffix: -focal-cuda
dockerfile: Dockerfile.focal-cuda
source_directory: images/app-streaming
- name: desktop
source_directory: images/desktop
- name: pulseaudio
source_directory: images/pulseaudio
- name: squid-proxy
source_directory: images/squid-proxy
- name: tinyfilemanager
source_directory: images/tinyfilemanager
- name: uinput-device-plugin
source_directory: images/uinput-device-plugin
- name: watchdog
source_directory: images/watchdog
- name: webrtc
source_directory: images/webrtc
- name: xpra
source_directory: images/xpra
submodules: recursive
- name: xserver
source_directory: images/xserver
name: ${{ matrix.name }}${{ matrix.version_suffix }} image build & publish
steps:
- uses: actions/checkout@v2
with:
submodules: ${{ matrix.submodules }}
- name: Build & publish ${{ matrix.name }} image
uses: ./.github/actions/build_and_publish_image
with:
github_personal_access_token: ${{ secrets.GITHUB_TOKEN }}
github_username: ${{ github.actor }}
image_name: ${{ matrix.name }}
image_source_directory: ${{ matrix.source_directory }}
dockerfile: ${{ matrix.dockerfile }}
image_version_1: ${{ github.ref_name }}${{ matrix.version_suffix }}