Fix automated update image tag bug (#6474)

Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
This commit is contained in:
quicksilver 2021-07-13 15:44:48 +08:00 committed by GitHub
parent e9a14125d6
commit d822cfdbe2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -56,7 +56,7 @@ jobs:
continue-on-error: true
shell: bash
run: |
sed -i "s#DATE_VERSION=.*#DATE_VERSION=${{ steps.extracter.outputs.version }}#g" .env
sed -i "s#$DATE_VERSION=.*#DATE_VERSION=${{ steps.extracter.outputs.version }}#g" .env
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add .env
@ -70,7 +70,7 @@ jobs:
token: ${{ secrets.ALL_CONTRIBUTORS_TOKEN }}
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
signoff: false
branch: update_builder_images
branch: update_builder_${{ github.sha }}
delete-branch: true
title: '[automated] Update Builder Image Changes'
body: |

View File

@ -60,7 +60,7 @@ jobs:
shell: bash
working-directory: tests/docker
run: |
sed -i "s#IMAGE_TAG=.*#IMAGE_TAG=${{ steps.extracter.outputs.version }}-${{ steps.extracter.outputs.sha_short }}#g" .env
sed -i "s#$IMAGE_TAG=.*#IMAGE_TAG=${{ steps.extracter.outputs.version }}-${{ steps.extracter.outputs.sha_short }}#g" .env
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add .env
@ -74,7 +74,7 @@ jobs:
token: ${{ secrets.ALL_CONTRIBUTORS_TOKEN }}
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
signoff: false
branch: update_builder_images
branch: update_pytest_${{ github.sha }}
delete-branch: true
title: '[automated] Update Pytest Image Changes'
body: |