Docker Build #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Nightly Docker Build | |
on: | |
schedule: | |
# Runs at 00:00 UTC every day | |
- cron: "0 0 * * *" | |
workflow_dispatch: # Allows manual triggering | |
jobs: | |
build-docker: | |
name: Build Docker image | |
runs-on: warp-ubuntu-latest-x64-16x | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Docker QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Docker Build | |
uses: docker/build-push-action@v5 | |
with: | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
platforms: linux/amd64 | |
context: . | |
push: false |