Skip to content

Nightly

Nightly #22

Workflow file for this run

name: Nightly
on:
schedule:
- cron: '0 4 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
env:
REGISTRY: quay.io
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build and Push with Buildx
uses: ./.github/actions/docker-build
with:
registry: ${{ env.REGISTRY }}
username: ${{ vars.QUAY_USERNAME }}
password: ${{ secrets.QUAY_TOKEN }}
imageName: ${{ github.repository }}
imageTags: |
type=schedule,pattern={{date 'YYYYMMDD'}},prefix=nightly-
# to autodelete CI image tags, set an expiry date
imageLabels: quay.expires-after=14d
push: true