4
4
push :
5
5
branches : [ "master", "develop" ]
6
6
pull_request :
7
- branches : [ "master", "develop", "feature/zigbee2mqtt" ]
7
+ branches : [ "master", "develop" ]
8
8
workflow_dispatch :
9
9
# Enable manual run
10
10
11
11
12
12
env :
13
13
REGISTRY : ghcr.io
14
- IMAGE_NAME : tcpproxy
15
14
REPO_NAME : ${{ github.repository }}
16
15
17
16
jobs :
@@ -24,12 +23,12 @@ jobs:
24
23
steps :
25
24
- name : Checkout repository
26
25
uses : actions/checkout@v3
27
- - name : Set up Docker Buildx
28
- uses : docker/setup-buildx-action@v2
29
26
- name : Set up QEMU
30
27
uses : docker/setup-qemu-action@v2
31
28
with :
32
- platforms : ' arm64,arm'
29
+ platforms : ' amd64,arm'
30
+ - name : Set up Docker Buildx
31
+ uses : docker/setup-buildx-action@v2
33
32
- name : Get Git Submodules
34
33
run : git submodule update --init --recursive
35
34
@@ -47,20 +46,23 @@ jobs:
47
46
images : |
48
47
${{ env.REGISTRY }}/${{ env.REPO_NAME }}
49
48
50
- - name : Build TCPProxy and push Docker image
49
+ - name : Build AppBroker and push Docker image
51
50
uses : docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
52
51
with :
53
52
context : .
54
- file : TcpProxy/Dockerfile
55
- push : ${{ github.event_name == 'push' }}
56
- tags : susch19/appbroker-tcpproxy:latest
53
+ platforms : linux/amd64,linux/arm/v7
54
+ file : AppBrokerASP/Dockerfile
55
+ push : ${{ github.event_name != 'pull_request' }}
56
+ tags : ghcr.io/susch19/appbroker:latest
57
57
labels : ${{ steps.meta.outputs.labels }}
58
58
59
- - name : Build AppBroker and push Docker image
59
+ - name : Build TCPProxy and push Docker image
60
60
uses : docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
61
61
with :
62
62
context : .
63
- file : AppBrokerASP/Dockerfile
64
- push : ${{ github.event_name == 'push' }}
65
- tags : susch19/appbroker:latest
63
+ platforms : linux/amd64,linux/arm/v7
64
+ file : TcpProxy/Dockerfile
65
+ push : ${{ github.event_name != 'pull_request' }}
66
+ tags : ghcr.io/susch19/appbroker-tcpproxy:latest
66
67
labels : ${{ steps.meta.outputs.labels }}
68
+
0 commit comments