11# Authors:
2+ # Sebastian Birke <[email protected] >23# Unai Martinez-Corral
34#
45# Copyright 2019-2021 Unai Martinez-Corral <[email protected] >@@ -43,16 +44,24 @@ jobs:
4344
4445 - run : echo "$(pwd)/.github/bin" >> $GITHUB_PATH
4546
46- - run : dockerBuild nextpnr:ice40 nextpnr ice40
47- - run : dockerBuild nextpnr:icestorm nextpnr icestorm
48- - run : dockerBuild nextpnr:ecp5 nextpnr ecp5
49- - run : dockerBuild nextpnr:prjtrellis nextpnr prjtrellis
50- - run : dockerBuild nextpnr nextpnr
47+ - run : dockerBuild pkg:nextpnr-ice40 nextpnr pkg-ice40
48+ - run : dockerBuild nextpnr:ice40 nextpnr ice40
49+ - run : dockerBuild nextpnr:icestorm nextpnr icestorm
50+ - run : dockerBuild pkg:nextpnr-ecp5 nextpnr pkg-ecp5
51+ - run : dockerBuild nextpnr:ecp5 nextpnr ecp5
52+ - run : dockerBuild nextpnr:prjtrellis nextpnr prjtrellis
53+ - run : dockerBuild pkg:nextpnr-generic nextpnr pkg-generic
54+ - run : dockerBuild nextpnr:generic nextpnr generic
55+ - run : dockerBuild nextpnr nextpnr
5156
57+ - run : dockerTestPkg nextpnr-ice40
5258 - run : dockerTest nextpnr:ice40
5359 - run : dockerTest nextpnr:icestorm
60+ - run : dockerTestPkg nextpnr-ecp5
5461 - run : dockerTest nextpnr:ecp5
5562 - run : dockerTest nextpnr:prjtrellis
63+ - run : dockerTestPkg nextpnr-generic
64+ - run : dockerTest nextpnr:generic
5665 - run : dockerTest nextpnr
5766
5867 - name : Login to DockerHub
@@ -62,17 +71,29 @@ jobs:
6271 username : ${{ secrets.DOCKER_USER }}
6372 password : ${{ secrets.DOCKER_PASS }}
6473
74+ - run : dockerPush pkg:nextpnr-ice40
75+ if : github.event_name != 'pull_request' && github.repository == 'hdl/containers'
76+
6577 - run : dockerPush nextpnr:ice40
6678 if : github.event_name != 'pull_request' && github.repository == 'hdl/containers'
6779
6880 - run : dockerPush nextpnr:icestorm
6981 if : github.event_name != 'pull_request' && github.repository == 'hdl/containers'
7082
83+ - run : dockerPush pkg:nextpnr-ecp5
84+ if : github.event_name != 'pull_request' && github.repository == 'hdl/containers'
85+
7186 - run : dockerPush nextpnr:ecp5
7287 if : github.event_name != 'pull_request' && github.repository == 'hdl/containers'
7388
7489 - run : dockerPush nextpnr:prjtrellis
7590 if : github.event_name != 'pull_request' && github.repository == 'hdl/containers'
7691
92+ - run : dockerPush pkg:nextpnr-generic
93+ if : github.event_name != 'pull_request' && github.repository == 'hdl/containers'
94+
95+ - run : dockerPush nextpnr:generic
96+ if : github.event_name != 'pull_request' && github.repository == 'hdl/containers'
97+
7798 - run : dockerPush nextpnr
7899 if : github.event_name != 'pull_request' && github.repository == 'hdl/containers'
0 commit comments