Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] gha: Nightly packages #1061

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
gha: nightly
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
vvoland committed Sep 4, 2024
commit 800084265aecc1c1acb62fe075af0d12ed6a50de
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@v1

-
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@v2
with:
name: nightly-${{ matrix.target }}
path: deb/debbuild/${{ matrix.target }}
retention-days: 3