File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : nightly
2
+
3
+ on :
4
+ schedule :
5
+ - cron : ' 0 0 * * *'
6
+ workflow_dispatch : {}
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : selfhosted
11
+ strategy :
12
+ fail-fast : false
13
+ matrix :
14
+ target :
15
+ - debian-bookworm
16
+ steps :
17
+ -
18
+ name : Set up Docker Buildx
19
+ uses : docker/setup-buildx-action@v1
20
+
21
+ -
22
+ name : Checkout
23
+ uses : actions/checkout@v3
24
+
25
+ -
26
+ name : Build
27
+ run : |
28
+ export VERSION=$(date +%Y%m%d)
29
+ export REF=master
30
+
31
+ export DOCKER_BUILDX_REF=master
32
+ export DOCKER_BUILDX_VERSION=$VERSION
33
+
34
+ export DOCKER_COMPOSE_REF=main
35
+ export DOCKER_COMPOSE_VERSION=$VERSION
36
+
37
+ make ${{ matrix.target }}
38
+
39
+ -
40
+ name : Artifact
41
+ uses : actions/upload-artifact@v2
42
+ with :
43
+ name : nightly-${{ matrix.target }}
44
+ path : deb/debbuild/${{ matrix.target }}
45
+ retention-days : 3
You can’t perform that action at this time.
0 commit comments