Skip to content

docker-nightly

docker-nightly #1264

name: docker-nightly
concurrency:
group: "${{github.workflow}}-${{github.ref}}"
cancel-in-progress: true
on:
workflow_dispatch:
schedule:
- cron: "0 5 * * *" # At 05:00. # https://crontab.guru/#0_5_*_*_*
jobs:
nightly:
runs-on: ubuntu-latest
steps:
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{github.repository_owner}}
password: ${{secrets.GITHUB_TOKEN}}
- uses: docker/build-push-action@v6
with:
file: tool/dockerfiles/nightly.dockerfile
tags: ghcr.io/${{github.repository}}:nightly
push: true
nightly-slim:
runs-on: ubuntu-latest
steps:
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{github.repository_owner}}
password: ${{secrets.GITHUB_TOKEN}}
- uses: docker/build-push-action@v6
with:
file: tool/dockerfiles/nightly-slim.dockerfile
tags: ghcr.io/${{github.repository}}:nightly-slim
push: true