dragonfly/.github/workflows/docker-weekly.yml
Tarun Pothulapati 3aa7c0d7a8
feat(CI): Update weekly build image name to be dragonfly-weekly (#1384)
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.
2023-06-18 22:59:45 +03:00

26 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 }}