mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 04:49:08 +08:00
[skip ci] Fix update image tag bug (#6481)
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
This commit is contained in:
parent
25b8c37383
commit
eac2b8a8f9
8
.github/workflows/publish-builder.yaml
vendored
8
.github/workflows/publish-builder.yaml
vendored
@ -56,11 +56,11 @@ jobs:
|
|||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
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.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
git config --local user.name "github-actions[bot]"
|
git config --local user.name "github-actions[bot]"
|
||||||
git add .env
|
git add .env
|
||||||
git commit -m "Update Builder Image Changes"
|
git commit -m "Update Builder image changes"
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
id: cpr
|
id: cpr
|
||||||
if: success() && github.event_name == 'push' && github.repository == 'milvus-io/milvus' && matrix.os == 'ubuntu18.04'
|
if: success() && github.event_name == 'push' && github.repository == 'milvus-io/milvus' && matrix.os == 'ubuntu18.04'
|
||||||
@ -72,9 +72,9 @@ jobs:
|
|||||||
signoff: false
|
signoff: false
|
||||||
branch: update_builder_${{ github.sha }}
|
branch: update_builder_${{ github.sha }}
|
||||||
delete-branch: true
|
delete-branch: true
|
||||||
title: '[automated] Update Builder Image Changes'
|
title: '[automated] Update Builder image changes'
|
||||||
body: |
|
body: |
|
||||||
Update Builder Image Changes
|
Update Builder image changes
|
||||||
|
|
||||||
Signed-off-by: ${{ github.actor }} ${{ github.actor }}@users.noreply.github.com
|
Signed-off-by: ${{ github.actor }} ${{ github.actor }}@users.noreply.github.com
|
||||||
- name: Check outputs
|
- name: Check outputs
|
||||||
|
8
.github/workflows/publish-test-images.yaml
vendored
8
.github/workflows/publish-test-images.yaml
vendored
@ -60,11 +60,11 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
working-directory: tests/docker
|
working-directory: tests/docker
|
||||||
run: |
|
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.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
git config --local user.name "github-actions[bot]"
|
git config --local user.name "github-actions[bot]"
|
||||||
git add .env
|
git add .env
|
||||||
git commit -m "Update Pytest Image Changes"
|
git commit -m "Update Pytest image changes"
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
id: cpr
|
id: cpr
|
||||||
if: success() && github.event_name == 'push' && github.repository == 'milvus-io/milvus'
|
if: success() && github.event_name == 'push' && github.repository == 'milvus-io/milvus'
|
||||||
@ -76,9 +76,9 @@ jobs:
|
|||||||
signoff: false
|
signoff: false
|
||||||
branch: update_pytest_${{ github.sha }}
|
branch: update_pytest_${{ github.sha }}
|
||||||
delete-branch: true
|
delete-branch: true
|
||||||
title: '[automated] Update Pytest Image Changes'
|
title: '[automated] Update Pytest image changes'
|
||||||
body: |
|
body: |
|
||||||
Update Pytest Image Changes
|
Update Pytest image changes
|
||||||
|
|
||||||
Signed-off-by: ${{ github.actor }} ${{ github.actor }}@users.noreply.github.com
|
Signed-off-by: ${{ github.actor }} ${{ github.actor }}@users.noreply.github.com
|
||||||
- name: Check outputs
|
- name: Check outputs
|
||||||
|
Loading…
Reference in New Issue
Block a user