@@ -3,11 +3,9 @@ name: Docker Image CI
3
3
on :
4
4
push :
5
5
branches : [ "master", "develop" ]
6
+
6
7
pull_request :
7
8
branches : [ "master", "develop" ]
8
- workflow_dispatch :
9
- # Enable manual run
10
-
11
9
12
10
env :
13
11
REGISTRY : ghcr.io
49
47
50
48
- name : Build AppBroker and push Docker image
51
49
uses : docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
52
- if : github.ref == 'refs/heads/master'
53
50
with :
54
51
context : .
55
52
platforms : linux/amd64,linux/arm/v7
58
55
tags : ghcr.io/susch19/appbroker:latest
59
56
labels : ${{ steps.meta.outputs.labels }}
60
57
61
- - name : Build AppBroker and push Docker image feature branch
62
- uses : docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
63
- if : github.ref != 'refs/heads/master'
64
- with :
65
- context : .
66
- platforms : linux/amd64,linux/arm/v7
67
- file : AppBrokerASP/Dockerfile
68
- push : ${{ github.event_name != 'pull_request' }}
69
- tags : ghcr.io/susch19/appbroker:${{ env.GITHUB_REF_NAME }}
70
- labels : ${{ steps.meta.outputs.labels }}
71
-
72
58
- name : Build TCPProxy and push Docker image
73
59
uses : docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
74
- if : github.ref == 'refs/heads/master'
75
60
with :
76
61
context : .
77
62
platforms : linux/amd64,linux/arm/v7
80
65
tags : ghcr.io/susch19/appbroker-tcpproxy:latest
81
66
labels : ${{ steps.meta.outputs.labels }}
82
67
83
-
84
- - name : Build TCPProxy and push Docker image feature branch
85
- uses : docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
86
- if : github.ref != 'refs/heads/master'
87
- with :
88
- context : .
89
- platforms : linux/amd64,linux/arm/v7
90
- file : TcpProxy/Dockerfile
91
- push : ${{ github.event_name != 'pull_request' }}
92
- tags : ghcr.io/susch19/appbroker-tcpproxy:${{ env.GITHUB_REF_NAME }}
93
- labels : ${{ steps.meta.outputs.labels }}
94
-
0 commit comments