Skip to content

Commit

Permalink
gha: nightly
Browse files Browse the repository at this point in the history
Signed-off-by: Paweł Gronowski <[email protected]>
  • Loading branch information
vvoland committed Jul 5, 2024
1 parent 2af20a9 commit 63b6cb0
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 35 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/ci.yml

This file was deleted.

45 changes: 45 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: nightly

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch: {}

jobs:
build:
runs-on: selfhosted
strategy:
fail-fast: false
matrix:
target:
- debian-bookworm
steps:
#-
# name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3

-
name: Checkout
uses: actions/checkout@v3

-
name: Build
run: |
export VERSION=$(date +%Y%m%d)
export REF=master
export DOCKER_BUILDX_REF=master
export DOCKER_BUILDX_VERSION=$VERSION
export DOCKER_COMPOSE_REF=main
export DOCKER_COMPOSE_VERSION=$VERSION
make ${{ matrix.target }}
-
name: Artifact
uses: actions/upload-artifact@v4
with:
name: nightly-${{ matrix.target }}
path: deb/debbuild/${{ matrix.target }}
retention-days: 3

0 comments on commit 63b6cb0

Please sign in to comment.