Skip to content

Docker images CI

Docker images CI #1489

Workflow file for this run

name: Docker images CI
on:
push:
branches:
- master
pull_request:
schedule:
- cron: '0 2 * * *' # nightly build at 2AM
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with: { python-version: 3.8 }
- name: Build docker images
run: |
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
./build
- name: Publish docker images
if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
run: |
./build --publish