未验证 提交 5e941ed5 编写于 作者: E edward.zeng 提交者: GitHub

Refine daily release (#7683)

Signed-off-by: NEdward Zeng <jie.zeng@zilliz.com>
上级 be9427e8
......@@ -10,7 +10,7 @@ on:
# │ │ │ │ │
# │ │ │ │ │
# │ │ │ │ │
- cron: '* 18 * * *'
- cron: '0 18 * * *'
jobs:
nightly:
......@@ -24,6 +24,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: '0'
- name: Get the latest of Milvus dev image tag
shell: bash
......@@ -52,14 +54,17 @@ jobs:
tag=${{ env.tag }}
IFS=- read branch date sha <<< "$tag"
echo "build=$date" >> $GITHUB_ENV
echo "sha=$(git rev-parse $sha)" >> $GITHUB_ENV
- name: Create a daily release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
body: "Image: ${IMAGE_REPO}/${DAILY}:${{ env.tag }}"
body: "Image: ${{ env.IMAGE_REPO}}/${{ env.DAILY }}:${{ env.tag }}"
prerelease: true
tag_name: "v2.0.0-testing${{ env.build }}"
tag_name: "v2.0.0-testing-${{ env.build }}"
release_name: "milvus-2.0.0-testing-${{ env.build }}"
commitish: "${{ env.sha }}"
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册