-
Notifications
You must be signed in to change notification settings - Fork 0
210 lines (186 loc) · 6.69 KB
/
Daily.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
name: ci
on:
push:
branches:
- main
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '30 5,17 * * *'
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DH_USER }}
password: ${{ secrets.DH_TOKEN }}
- name: Build and push
id: freeswitch_build
if: ${{ github.ref == 'refs/heads/main' }}
uses: docker/[email protected]
with:
context: ./Images/FreeSwitch
cache-from: type=registry,ref=kristianfjones/freeswitch:latest
cache-to: type=inline
platforms: linux/amd64
push: true
tags: kristianfjones/freeswitch:latest
- name: Build and push
id: openldap_build
if: ${{ github.ref == 'refs/heads/main' }}
uses: docker/[email protected]
with:
context: ./Images/LDAP
cache-from: type=registry,ref=kristianfjones/library-openldap:latest
cache-to: type=inline
platforms: linux/amd64
push: true
tags: kristianfjones/library-openldap:latest
- name: Build and push
id: pgpool_build
if: ${{ github.ref == 'refs/heads/main' }}
uses: docker/[email protected]
with:
context: ./Images/PGPool
cache-from: type=registry,ref=kristianfjones/pgpool:latest
cache-to: type=inline
platforms: linux/amd64
push: true
tags: kristianfjones/pgpool:latest
# - name: Build and push
# id: idracexporter_build
# if: ${{ github.ref == 'refs/heads/main' }}
# uses: docker/[email protected]
# with:
# context: ./Images/iDRACExporter
# cache-from: type=registry,ref=kristianfjones/idracexporter-docker:core0
# cache-to: type=inline
# platforms: linux/amd64,linux/arm64
# push: true
# tags: kristianfjones/idracexporter-docker:core0
# - name: Build and push
# id: gobetween_build
# if: ${{ github.ref == 'refs/heads/main' }}
# uses: docker/[email protected]
# with:
## context: ./Images/GoBetween
# cache-from: type=registry,ref=kristianfjones/gobetween-docker:core0
# cache-to: type=inline
# platforms: linux/amd64,linux/arm64
# push: true
# tags: kristianfjones/gobetween-docker:core0
# - name: Build and push
# id: hyperglass_build
# if: ${{ github.ref == 'refs/heads/main' }}
# uses: docker/[email protected]
# with:
# context: ./Images/HyperGlass
# cache-from: type=registry,ref=kristianfjones/hyperglass-docker:core0
# cache-to: type=inline
# platforms: linux/amd64,linux/arm64
# push: true
# tags: kristianfjones/hyperglass-docker:core0
- name: Build and push
id: pgexporter_build
if: ${{ github.ref == 'refs/heads/main' }}
uses: docker/[email protected]
with:
context: ./Images/PGExporter
cache-from: type=registry,ref=kristianfjones/pgexporter-docker:core0
cache-to: type=inline
platforms: linux/amd64,linux/arm64
push: true
tags: kristianfjones/pgexporter-docker:core0
- name: Build and push
id: dns_build
if: ${{ github.ref == 'refs/heads/main' }}
uses: docker/[email protected]
with:
context: ./Images/CoreDNS
cache-from: type=registry,ref=kristianfjones/coredns-docker:core0
cache-to: type=inline
platforms: linux/amd64,linux/arm64
push: true
tags: kristianfjones/coredns-docker:core0
- name: Build and push
id: ipamnetbox_build
if: ${{ github.ref == 'refs/heads/main' }}
uses: docker/[email protected]
with:
context: ./Images/NetBox
cache-from: type=registry,ref=kristianfoss/netbox:core
cache-to: type=inline
platforms: linux/amd64,linux/arm64
push: true
tags: kristianfoss/netbox:core
- name: Build and push
id: keadhcp_build
if: ${{ github.ref == 'refs/heads/main' }}
uses: docker/[email protected]
with:
context: ./Images/Kea
cache-from: type=registry,ref=kristianfjones/kea:vps1-core
cache-to: type=inline
platforms: linux/amd64
push: true
tags: kristianfjones/kea:vps1-core
# - name: Build and push
# id: docker_build
# if: ${{ github.ref == 'refs/heads/main' }}
# uses: docker/[email protected]
# with:
# context: ./Images/Web
# cache-from: type=registry,ref=kristianfjones/caddy-core-docker:vps1
# cache-to: type=inline
# platforms: linux/amd64,linux/arm64
# push: true
# tags: kristianfjones/caddy-core-docker:vps1
# - name: Build and push
# id: mariadbd_build
# if: ${{ github.ref == 'refs/heads/main' }}
# uses: docker/[email protected]
# with:
# context: ./Images/MariaDB
# cache-from: type=registry,ref=kristianfjones/mariadb:vps1-core
# cache-to: type=inline
# push: true
# tags: kristianfjones/mariadb:vps1-core
- name: Build and push
id: keaadmin_build
if: ${{ github.ref == 'refs/heads/main' }}
uses: docker/[email protected]
with:
context: ./Images/KeaAdmin
push: true
tags: kristianfjones/kea:vps1-admin
- name: Build and push
id: netboxdhcp_build
if: ${{ github.ref == 'refs/heads/main' }}
uses: docker/[email protected]
with:
context: ./Images/NetboxDHCP
push: true
tags: kristianfjones/netbox-dhcp:main
## - name: Build and push
# id: asterisk_build
# if: ${{ github.ref == 'refs/heads/main' }}
# uses: docker/[email protected]
# with:
# context: ./Images/Asterisk
# push: true
# tags: kristianfjones/asterisk-pbx:vps1
# - name: Build and push
# id: enms_build
# if: ${{ github.ref == 'refs/heads/main' }}
# uses: docker/[email protected]
# with:
# context: ./Images/eNMS
# push: true
# tags: kristianfjones/enms:vps1