-
-
Notifications
You must be signed in to change notification settings - Fork 56
56 lines (51 loc) · 1.2 KB
/
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
50
51
52
53
54
55
56
name: Build
on:
push:
workflow_dispatch:
schedule:
- cron: '20 3 * * *'
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
addon:
- avahi-reflector
- flicd
- keepalived
- picamera
- tailscale
- zabbix-agent
- zabbix-agent2
arch:
- aarch64
- amd64
- armhf
- i386
exclude:
- addon: keepalived
arch: i386
- addon: keepalived
arch: armhf
- addon: picamera
arch: amd64
- addon: picamera
arch: i386
- addon: zabbix-agent2
arch: i386
- addon: zabbix-agent2
arch: armhf
steps:
- name: Checkout repo
uses: actions/checkout@master
with:
ref: ${{ github.ref }}
- name: Docker login
uses: azure/docker-login@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build ${{ matrix.addon }} - ${{ matrix.arch }}
run: |
./build.sh ${{ matrix.addon }} ${{ matrix.arch }}