Skip to content

Nightly Docker Builds #16

Nightly Docker Builds

Nightly Docker Builds #16

name: Nightly Docker Builds
on:
# Important note about scheduled workflows:
# Notifications for scheduled workflows are sent to the user who last modified the cron syntax in the workflow file.
schedule:
- cron: "30 2 * * *"
workflow_dispatch:
jobs:
nightly-docker-build:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
project:
[
mithril-aggregator,
mithril-client-cli,
mithril-signer,
mithril-relay,
]
env:
DOCKER_FILE: ./${{ matrix.project }}/Dockerfile
CONTEXT: .
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build Docker image
uses: docker/build-push-action@v6
with:
context: ${{ env.CONTEXT }}
file: ${{ env.DOCKER_FILE }}
push: false