mirror of
https://github.com/dragonflydb/dragonfly
synced 2024-11-22 07:33:19 +00:00
98b92a0073
- 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>
25 lines
515 B
YAML
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 }}
|