Skip to content

Commit a3ac891

Browse files
committed
gha: nightly
Signed-off-by: Paweł Gronowski <[email protected]>
1 parent 32ef8a1 commit a3ac891

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.github/workflows/nightly.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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

0 commit comments

Comments
 (0)