Nightly Docker Builds #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 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 |