Skip to content

Commit 072a342

Browse files
committed
fix: boolean checks via strings
1 parent 961e21e commit 072a342

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/az_acr_push.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
name: "DEV: ACR Build & Push"
1515
runs-on: ubuntu-latest
1616
environment: dev
17-
if: github.event.inputs.test_tag != true && github.ref_name != 'prod'
17+
if: github.event.inputs.test_tag == 'false' && github.ref_name != 'prod'
1818
env:
1919
DOCKERFILE: ${{ vars.DOCKERFILE || 'Dockerfile' }}
2020
AZURE_CONTAINER_REGISTRY: ${{ vars.AZURE_CONTAINER_REGISTRY }}
@@ -57,10 +57,10 @@ jobs:
5757
build-args: platform=linux/${{ matrix.platform}}
5858

5959
az-acr-push-test:
60-
name: "DEV: ACR Build & Push Tests"
60+
name: "TEST: ACR Build & Push"
6161
runs-on: ubuntu-latest
6262
environment: dev
63-
if: github.event.inputs.test_tag == true
63+
if: github.event.inputs.test_tag == 'true'
6464
env:
6565
DOCKERFILE: dev.Dockerfile
6666
AZURE_CONTAINER_REGISTRY: ${{ vars.AZURE_CONTAINER_REGISTRY }}
@@ -89,7 +89,7 @@ jobs:
8989
build-args: platform=linux/amd64
9090

9191
az-acr-push-prod:
92-
name: "Azure: ACR Build & Push"
92+
name: "PROD: ACR Build & Push"
9393
runs-on: ubuntu-latest
9494
environment: ${{ github.ref_name }}
9595
if: github.ref_name == 'prod'

0 commit comments

Comments
 (0)