Skip to content

Commit 5a8e143

Browse files
authored
Update main.yml
1 parent a8cb1c6 commit 5a8e143

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
5050
- name: Build AppBroker and push Docker image
5151
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
52-
if: ${{ env.GITHUB_REF_NAME }} == 'master'
52+
if: github.ref == 'refs/heads/master'
5353
with:
5454
context: .
5555
platforms: linux/amd64,linux/arm/v7
@@ -60,7 +60,7 @@ jobs:
6060

6161
- name: Build AppBroker and push Docker image feature branch
6262
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
63-
if: ${{ env.GITHUB_REF_NAME }} != 'master'
63+
if: github.ref != 'refs/heads/master'
6464
with:
6565
context: .
6666
platforms: linux/amd64,linux/arm/v7
@@ -71,7 +71,7 @@ jobs:
7171

7272
- name: Build TCPProxy and push Docker image
7373
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
74-
if: ${{ env.GITHUB_REF_NAME }} == 'master'
74+
if: github.ref == 'refs/heads/master'
7575
with:
7676
context: .
7777
platforms: linux/amd64,linux/arm/v7
@@ -83,7 +83,7 @@ jobs:
8383

8484
- name: Build TCPProxy and push Docker image feature branch
8585
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
86-
if: ${{ env.GITHUB_REF_NAME }} != 'master'
86+
if: github.ref != 'refs/heads/master'
8787
with:
8888
context: .
8989
platforms: linux/amd64,linux/arm/v7

0 commit comments

Comments
 (0)