[skip e2e] Fix replace image tag logic (#20609)

Signed-off-by: Jenny Li <jing.li@zilliz.com>

Signed-off-by: Jenny Li <jing.li@zilliz.com>
pull/20639/head
Jenny Li 2022-11-16 14:21:14 +08:00 committed by GitHub
parent b0a07983ce
commit 7a413468ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ jobs:
continue-on-error: true
shell: bash
run: |
sed -i "s#^MILVUS_BASE_IMAGE_TAG=.*#MILVUS_BASE_IMAGE_TAG=${{ steps.generate-tag-name.outputs.docker_tag }}#g" build/docker/milvus/ubuntu20.04/Dockerfile
sed -i "s#MILVUS_BASE_IMAGE_TAG=.*#MILVUS_BASE_IMAGE_TAG=\"${{ steps.generate-tag-name.outputs.docker_tag }}\"#g" build/docker/milvus/ubuntu20.04/Dockerfile
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add build/docker/milvus/ubuntu20.04/Dockerfile
@ -75,7 +75,7 @@ jobs:
See changes: https://github.com/milvus-io/milvus/commit/${{ github.sha }}
Signed-off-by: ${{ github.actor }} ${{ github.actor }}@users.noreply.github.com
- name: Check outputs
if: success() && github.event_name == 'push' && github.repository == 'milvus-io/milvus' && matrix.os == 'ubuntu20.04'
if: success() && github.event_name == 'push' && github.repository == 'milvus-io/milvus'
run: |
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"