Skip to content

Commit b4fe0f7

Browse files
committed
fix(ci): map Lean image names to Dockerfile paths
1 parent dd0fd99 commit b4fe0f7

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/lean-images.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@ jobs:
3535
strategy:
3636
fail-fast: false
3737
matrix:
38-
image: [jacobian-lean-checker, jacobian-lean-repl-agent]
38+
include:
39+
- image: jacobian-lean-checker
40+
directory: lean-checker
41+
- image: jacobian-lean-repl-agent
42+
directory: lean-repl-agent
3943
steps:
4044
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4145
with:
@@ -45,7 +49,7 @@ jobs:
4549
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7
4650
with:
4751
context: .
48-
file: containers/${{ matrix.image }}/Dockerfile
52+
file: containers/${{ matrix.directory }}/Dockerfile
4953
platforms: ${{ env.PLATFORM }}
5054
load: true
5155
push: false
@@ -84,7 +88,11 @@ jobs:
8488
strategy:
8589
fail-fast: false
8690
matrix:
87-
image: [jacobian-lean-checker, jacobian-lean-repl-agent]
91+
include:
92+
- image: jacobian-lean-checker
93+
directory: lean-checker
94+
- image: jacobian-lean-repl-agent
95+
directory: lean-repl-agent
8896
steps:
8997
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
9098
with:
@@ -111,7 +119,7 @@ jobs:
111119
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7
112120
with:
113121
context: .
114-
file: containers/${{ matrix.image }}/Dockerfile
122+
file: containers/${{ matrix.directory }}/Dockerfile
115123
platforms: ${{ env.PLATFORM }}
116124
push: true
117125
tags: ${{ steps.meta.outputs.tags }}

0 commit comments

Comments
 (0)