Skip to content
This repository was archived by the owner on Apr 20, 2022. It is now read-only.

Commit 6e38f98

Browse files
authored
Update deploy_test.yml
1 parent 741d708 commit 6e38f98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ jobs:
142142
push: true
143143
tags: |
144144
registry.cn-beijing.aliyuncs.com/secnium/iast-saas-openapi-test:latest
145-
registry.cn-beijing.aliyuncs.com/secnium/iast-saas-openapi-test:0.1.${{github.run_number}}
145+
registry.cn-beijing.aliyuncs.com/secnium/iast-saas-openapi-test:0.1.${{github.run_number}}.${{ github.run_attempt }}
146146
147147
- uses: actions/checkout@master
148148
name: Checkout
@@ -153,7 +153,7 @@ jobs:
153153
KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_TEST_DATA }}
154154
with:
155155
args: |
156-
find deploy/deploy-eks-iast-saas-openapi-test.yml -type f -exec sed -i 's/VERSION/0.1.${{github.run_number}}/g' {} \;
156+
find deploy/deploy-eks-iast-saas-openapi-test.yml -type f -exec sed -i 's/VERSION/0.1.${{github.run_number}}.${{ github.run_attempt }}/g' {} \;
157157
ls deploy/deploy-eks-iast-saas-openapi-test.yml | xargs -I {} kubectl apply -f {}
158158
159159
- name: Notify

0 commit comments

Comments
 (0)