@@ -2,6 +2,7 @@ on: [push, pull_request]
22name : CI
33jobs :
44 test :
5+ name : Go Test
56 strategy :
67 matrix :
78 go-version : [1.13.x, 1.14.x]
2526 $(go env GOPATH)/bin/goveralls -coverprofile=coverage.out -service=github
2627
2728 build :
29+ name : Go Build
2830 needs : [test]
2931 runs-on : ubuntu-latest
3032 steps :
5860 name : binaries
5961 path : build/
6062
61- docker :
63+ docker-agent :
64+ name : Docker (agent)
6265 runs-on : ubuntu-latest
6366 steps :
6467 - uses : actions/checkout@master
6972 username : ${{ github.actor }}
7073 password : ${{ secrets.GITHUB_TOKEN }}
7174 registry : docker.pkg.github.com
72- dockerfile : ./docker/agent
75+ dockerfile : ./docker/agent.Dockerfile
76+ tag_names : true
77+
78+ docker-c2 :
79+ name : Docker (c2)
80+ runs-on : ubuntu-latest
81+ steps :
82+ - uses : actions/checkout@master
83+ - name : Publish to Github Registry
84+ uses : elgohr/Publish-Docker-Github-Action@master
85+ with :
86+ name : kcarretto/paragon/c2
87+ username : ${{ github.actor }}
88+ password : ${{ secrets.GITHUB_TOKEN }}
89+ registry : docker.pkg.github.com
90+ dockerfile : ./docker/c2.Dockerfile
91+
92+ docker-teamserver :
93+ name : Docker (teamserver)
94+ runs-on : ubuntu-latest
95+ steps :
96+ - uses : actions/checkout@master
97+ - name : Publish to Github Registry
98+ uses : elgohr/Publish-Docker-Github-Action@master
99+ with :
100+ name : kcarretto/paragon/teamserver
101+ username : ${{ github.actor }}
102+ password : ${{ secrets.GITHUB_TOKEN }}
103+ registry : docker.pkg.github.com
104+ dockerfile : ./docker/teamserver.Dockerfile
105+
106+ docker-worker :
107+ name : Docker (worker)
108+ runs-on : ubuntu-latest
109+ steps :
110+ - uses : actions/checkout@master
111+ - name : Publish to Github Registry
112+ uses : elgohr/Publish-Docker-Github-Action@master
113+ with :
114+ name : kcarretto/paragon/worker
115+ username : ${{ github.actor }}
116+ password : ${{ secrets.GITHUB_TOKEN }}
117+ registry : docker.pkg.github.com
118+ dockerfile : ./docker/worker.Dockerfile
0 commit comments