6
6
- main
7
7
- release-*
8
8
tags :
9
- - ' v[0-9]+.[0-9]+.[0-9]+'
9
+ - " v[0-9]+.[0-9]+.[0-9]+"
10
10
pull_request :
11
11
branches :
12
12
- main
16
16
- reopened
17
17
- synchronize
18
18
schedule :
19
- - cron : ' 0 4 * * *' # run every day at 04:00 UTC
19
+ - cron : " 0 4 * * *" # run every day at 04:00 UTC
20
20
21
21
defaults :
22
22
run :
@@ -27,7 +27,6 @@ concurrency:
27
27
cancel-in-progress : true
28
28
29
29
jobs :
30
-
31
30
checks :
32
31
name : Checks and variables
33
32
runs-on : ubuntu-22.04
@@ -84,16 +83,16 @@ jobs:
84
83
release :
85
84
runs-on : ubuntu-22.04
86
85
needs : [checks, unit-tests]
87
- if : ${{ github.event_name == 'push' && ! github.ref != 'refs/heads/main' }}
86
+ if : ${{ github.event_name == 'push' && github.ref != 'refs/heads/main' }}
88
87
steps :
89
88
- name : Checkout Repository
90
89
uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
91
90
92
91
- name : Create/Update Draft
93
92
uses : lucacome/draft-release@b79be3ff634f771230b2b6ee9f47308c5793671a # v0.2.0
94
93
with :
95
- minor-label : ' enhancement'
96
- major-label : ' change'
94
+ minor-label : " enhancement"
95
+ major-label : " change"
97
96
publish : ${{ startsWith(github.ref, 'refs/tags/') }}
98
97
collapse-after : 50
99
98
variables : |
@@ -163,10 +162,10 @@ jobs:
163
162
strategy :
164
163
matrix :
165
164
include :
166
- - image : debian
167
- type : oss
168
- - image : debian-plus
169
- type : plus
165
+ - image : debian
166
+ type : oss
167
+ - image : debian-plus
168
+ type : plus
170
169
steps :
171
170
- name : Checkout Repository
172
171
uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
@@ -181,7 +180,7 @@ jobs:
181
180
uses : docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671 # v4.0.0
182
181
with :
183
182
file : build/Dockerfile
184
- context : ' . '
183
+ context : " . "
185
184
cache-from : type=gha,scope=${{ matrix.image }}
186
185
target : goreleaser
187
186
tags : ${{ matrix.type }}:${{ github.sha }}
@@ -270,7 +269,7 @@ jobs:
270
269
uses : docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671 # v4.0.0
271
270
with :
272
271
file : tests/docker/Dockerfile
273
- context : ' . '
272
+ context : " . "
274
273
cache-from : type=gha,scope=test-runner
275
274
cache-to : type=gha,scope=test-runner,mode=max
276
275
tags : test-runner:${{ github.sha }}
@@ -308,13 +307,14 @@ jobs:
308
307
name : Build Docker OSS
309
308
needs : smoke-tests
310
309
strategy :
311
- fail-fast : false
312
- matrix :
313
- image : [debian, alpine]
314
- platforms : ["linux/arm, linux/arm64, linux/amd64, linux/ppc64le, linux/s390x"]
315
- include :
316
- - image : ubi
317
- platforms : " linux/arm64, linux/amd64, linux/ppc64le, linux/s390x"
310
+ fail-fast : false
311
+ matrix :
312
+ image : [debian, alpine]
313
+ platforms :
314
+ ["linux/arm, linux/arm64, linux/amd64, linux/ppc64le, linux/s390x"]
315
+ include :
316
+ - image : ubi
317
+ platforms : " linux/arm64, linux/amd64, linux/ppc64le, linux/s390x"
318
318
uses : ./.github/workflows/build-oss.yml
319
319
with :
320
320
platforms : ${{ matrix.platforms }}
@@ -325,15 +325,15 @@ jobs:
325
325
name : Build Docker Plus
326
326
needs : build-docker
327
327
strategy :
328
- fail-fast : false
329
- matrix :
330
- image : [debian-plus, alpine-plus]
331
- platforms : ["linux/arm64, linux/amd64"]
332
- target : [goreleaser, aws]
333
- include :
334
- - image : ubi-plus
335
- platforms : " linux/arm64, linux/amd64, linux/s390x"
336
- target : goreleaser
328
+ fail-fast : false
329
+ matrix :
330
+ image : [debian-plus, alpine-plus]
331
+ platforms : ["linux/arm64, linux/amd64"]
332
+ target : [goreleaser, aws]
333
+ include :
334
+ - image : ubi-plus
335
+ platforms : " linux/arm64, linux/amd64, linux/s390x"
336
+ target : goreleaser
337
337
uses : ./.github/workflows/build-plus.yml
338
338
with :
339
339
platforms : ${{ matrix.platforms }}
@@ -345,12 +345,12 @@ jobs:
345
345
name : Build Docker NAP
346
346
needs : build-docker-plus
347
347
strategy :
348
- fail-fast : false
349
- matrix :
350
- image : [debian-plus-nap, ubi-plus-nap]
351
- platforms : ["linux/amd64"]
352
- target : [goreleaser, aws]
353
- nap_modules : [dos, waf, "waf,dos"]
348
+ fail-fast : false
349
+ matrix :
350
+ image : [debian-plus-nap, ubi-plus-nap]
351
+ platforms : ["linux/amd64"]
352
+ target : [goreleaser, aws]
353
+ nap_modules : [dos, waf, "waf,dos"]
354
354
uses : ./.github/workflows/build-plus.yml
355
355
with :
356
356
platforms : ${{ matrix.platforms }}
0 commit comments