dragonfly/.github/workflows/docker-weekly.yml
Philipp Born 98b92a0073 feat: build and publish weekly alpha/development container image
- make use of docker buildx caching when possible (helpful with local docker builds)
- introduce a reusable container workflow which is triggered by docker-release and docker-weekly workflows
- added an alpine-dev Dockerfile
- split release.sh contents into different Makefile targets
- make use of job matrix to build alpine + ubuntu in parallel
- make alpine build optional by checking for Dockerfile presence
-- as the pre-built binaries don't work with alpine, because of glibc <-> musl incompatibilities

Signed-off-by: Philipp Born <git@pborn.eu>
2022-12-26 20:41:53 +02:00

25 lines
515 B
YAML

name: weekly docker build
on:
schedule:
# Monday midnight
- cron: '0 0 * * 1'
workflow_dispatch:
permissions:
packages: write
contents: write
id-token: write
jobs:
weekly-container-build:
uses: ./.github/workflows/reusable-container-workflow.yaml
with:
build_type: dev
tag: alpha
image: ghcr.io/${{ github.repository }}
registry: ghcr.io
registry_username: ${{ github.repository_owner }}
secrets:
registry_password: ${{ secrets.GITHUB_TOKEN }}