File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,13 @@ name: Deploy Docker Images
33on : [push]
44
55jobs :
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
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 }}
You can’t perform that action at this time.
0 commit comments