Skip to content

Trigger Image Build #64

Trigger Image Build

Trigger Image Build #64

Workflow file for this run

name: Trigger Image Build
on:
workflow_dispatch:
schedule:
- cron: '10 1 * * *'
jobs:
trigger:
runs-on: windows-2022
permissions:
contents: read
packages: write
strategy:
matrix:
train: [stable, beta, nightly]
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Check if image is up-to-date, and build if not
run: .\check-and-build.ps1 $env:TRAIN ${{ github.actor }} ${{ secrets.GITHUB_TOKEN }}
env:
TRAIN: ${{ matrix.train }}
USERNAME: ${{ secrets.DOCKER_USERNAME }}
PASSWORD: ${{ secrets.DOCKER_PASSWORD }}