Skip to content

Commit eaf9c6f

Browse files
committed
ci: adds to deploy langutils
1 parent cb0a01e commit eaf9c6f

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,13 @@ name: Deploy Docker Images
33
on: [push]
44

55
jobs:
6-
synthesis:
6+
deploy:
77
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
name:
11+
- synthesis
12+
- langutils
813
steps:
914
- uses: actions/checkout@v2
1015
- name: Login to GitHub Container Registry
@@ -13,7 +18,7 @@ jobs:
1318
registry: ghcr.io
1419
username: ${{ github.actor }}
1520
password: ${{ secrets.GITHUB_TOKEN }}
16-
- name: Build Docker image
17-
run: docker build -f recipes/synthesis -t ghcr.io/pyfpga/synthesis .
18-
- name: Push Docker image
19-
run: docker push ghcr.io/pyfpga/synthesis
21+
- name: Build Docker image for ${{ matrix.name }}
22+
run: docker build -f recipes/${{ matrix.name }} -t ghcr.io/pyfpga/${{ matrix.name }} .
23+
- name: Push Docker image for ${{ matrix.name }}
24+
run: docker push ghcr.io/pyfpga/${{ matrix.name }}

0 commit comments

Comments
 (0)