mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-03 04:19:18 +08:00
Fix automated update image tag bug (#6474)
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
This commit is contained in:
parent
e9a14125d6
commit
d822cfdbe2
4
.github/workflows/publish-builder.yaml
vendored
4
.github/workflows/publish-builder.yaml
vendored
@ -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: |
|
||||
|
4
.github/workflows/publish-test-images.yaml
vendored
4
.github/workflows/publish-test-images.yaml
vendored
@ -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: |
|
||||
|
Loading…
Reference in New Issue
Block a user