File tree 1 file changed +47
-0
lines changed
1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Images
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - ' master'
7
+
8
+ jobs :
9
+ docker :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Checkout
13
+ uses : actions/checkout@v2 # https://github.com/marketplace/actions/checkout
14
+ with :
15
+ fetch-depth : 0
16
+ - name : Set up QEMU
17
+ uses : docker/setup-qemu-action@v1 # https://github.com/marketplace/actions/docker-setup-qemu
18
+ - name : Set up Docker Buildx
19
+ uses : docker/setup-buildx-action@v1 # https://github.com/marketplace/actions/docker-setup-buildx
20
+ - name : Login to DockerHub
21
+ uses : docker/login-action@v1 # https://github.com/marketplace/actions/docker-login
22
+ with :
23
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
24
+ password : ${{ secrets.DOCKERHUB_TOKEN }}
25
+
26
+ # #####################################################################################################
27
+ # partmc
28
+ - name : Build and push compdyn/partmc
29
+ uses : docker/build-push-action@v2 # https://github.com/marketplace/actions/build-and-push-docker-images
30
+ with :
31
+ context : .
32
+ platforms : linux/amd64
33
+ push : true
34
+ no-cache : true
35
+ tags : compdyn/partmc:latest
36
+
37
+ # #####################################################################################################
38
+ # partmc-camp
39
+ - name : Build and push compdyn/partmc-camp
40
+ uses : docker/build-push-action@v2 # https://github.com/marketplace/actions/build-and-push-docker-images
41
+ with :
42
+ file : Dockerfile.camp
43
+ context : .
44
+ platforms : linux/amd64
45
+ push : true
46
+ no-cache : true
47
+ tags : compdyn/partmc-camp:latest
You can’t perform that action at this time.
0 commit comments