Skip to content

Commit ff9b5a3

Browse files
authored
Merge pull request #2060 from input-output-hk/dlachaume/2026/docker-nightly-builds
CI: add scheduled Docker builds workflow
2 parents 1bdd873 + c21fae3 commit ff9b5a3

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Nightly Docker Builds
2+
3+
on:
4+
schedule:
5+
- cron: "0 2 * * *"
6+
workflow_dispatch:
7+
8+
jobs:
9+
nightly-docker-build:
10+
runs-on: ubuntu-22.04
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
project:
15+
[
16+
mithril-aggregator,
17+
mithril-client-cli,
18+
mithril-signer,
19+
mithril-relay,
20+
]
21+
22+
env:
23+
DOCKER_FILE: ./${{ matrix.project }}/Dockerfile
24+
CONTEXT: .
25+
26+
steps:
27+
- name: Checkout
28+
uses: actions/checkout@v4
29+
30+
- name: Build Docker image
31+
uses: docker/build-push-action@v6
32+
with:
33+
context: ${{ env.CONTEXT }}
34+
file: ${{ env.DOCKER_FILE }}
35+
push: false

0 commit comments

Comments
 (0)