Skip to content

Commit df53926

Browse files
committed
fix(ci): inputs instead of github.event.inputs
1 parent 962f005 commit df53926

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/az_acr_push.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: "DEV: ACR Build & Push"
1414
runs-on: ubuntu-latest
1515
environment: dev
16-
if: github.event.inputs.test_tag != 'true' && github.ref_name != 'prod'
16+
if: inputs.test_tag == 'false' && github.ref_name != 'prod'
1717
env:
1818
DOCKERFILE: ${{ vars.DOCKERFILE || 'Dockerfile' }}
1919
AZURE_CONTAINER_REGISTRY: ${{ vars.AZURE_CONTAINER_REGISTRY }}
@@ -59,7 +59,7 @@ jobs:
5959
name: "TEST: ACR Build & Push"
6060
runs-on: ubuntu-latest
6161
environment: dev
62-
if: github.event.inputs.test_tag == 'true'
62+
if: inputs.test_tag == 'true'
6363
env:
6464
DOCKERFILE: dev.Dockerfile
6565
AZURE_CONTAINER_REGISTRY: ${{ vars.AZURE_CONTAINER_REGISTRY }}
@@ -114,6 +114,6 @@ jobs:
114114
with:
115115
push: true
116116
file: ${{ env.DOCKERFILE }}
117-
tags: ${{ env.AZURE_CONTAINER_REGISTRY }}/${{ github.event.repository.name }}:${{ github.event.inputs.image_tag }}
117+
tags: ${{ env.AZURE_CONTAINER_REGISTRY }}/${{ github.event.repository.name }}:version-tag
118118
build-args: platform=linux/amd64
119119

.github/workflows/k8s_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ jobs:
6868
-n ${{ env.KUBERNETES_NAMESPACE }} \
6969
-d ${{ github.event.repository.name }} \
7070
-r ${{ env.AZURE_CONTAINER_REGISTRY }} \
71-
-t ${{ github.event.inputs.test_cmd }}
71+
-t ${{ inputs.test_cmd }}

0 commit comments

Comments
 (0)