[Tool] Fix: Update image even if the previous task failed (#54500)
Signed-off-by: andyziye <108652123+andyziye@users.noreply.github.com>
This commit is contained in:
parent
3611f4f5cf
commit
e48afd7442
|
|
@ -125,9 +125,9 @@ jobs:
|
|||
./bin/elastic-update-image.sh $BRANCH $PR_NUMBER ubuntu
|
||||
|
||||
- name: update image - centos7
|
||||
if: success()
|
||||
if: steps.changes.outputs.thirdparty == 'true'
|
||||
run: |
|
||||
cd ci-tool && source lib/init.sh
|
||||
rm -rf ./ci-tool && cp -rf /var/lib/ci-tool ./ci-tool && cd ci-tool && git pull && source lib/init.sh
|
||||
./bin/elastic-update-image.sh $BRANCH $PR_NUMBER centos7
|
||||
|
||||
- name: Clean ENV
|
||||
|
|
|
|||
Loading…
Reference in New Issue