mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2024-12-14 11:58:02 +00:00
3aa7c0d7a8
This commit updates the weekly docker build to use `dragonfly-weekly` image tag so that we get better separation. We also now push these images with the github sha commit tags. We also update `latest` as these get pushed.
25 lines
553 B
YAML
25 lines
553 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: ${{ github.sha}}
|
|
tag_latest: true
|
|
image: ghcr.io/dragonflydb/dragonfly-weekly
|
|
registry: ghcr.io
|
|
registry_username: ${{ github.repository_owner }}
|
|
secrets:
|
|
registry_password: ${{ secrets.GITHUB_TOKEN }}
|