From da34eb02e24440edfc1fadcc46facfa3710c02ae Mon Sep 17 00:00:00 2001 From: Sammy Huang Date: Thu, 7 Dec 2023 15:00:16 +0800 Subject: [PATCH] . Signed-off-by: Sammy Huang --- .github/workflows/build-and-push.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-push.yaml b/.github/workflows/build-and-push.yaml index f448222..ec6dbf3 100644 --- a/.github/workflows/build-and-push.yaml +++ b/.github/workflows/build-and-push.yaml @@ -5,7 +5,8 @@ on: push: tags: - 'v*' - + workflow_dispatch: + jobs: build-and-push: runs-on: ubuntu-latest @@ -18,12 +19,13 @@ jobs: with: # list of Docker images to use as base name for tags images: | - milvusdb/birdwatcher + huangliang1203/birdwatcher # generate Docker tags based on the following events/attributes tags: | - type=ref,event=branch + type=ref,event=branch,value={{branch}}-{{date 'YYYYMMDD'}}-{{sha}} type=semver,pattern={{version}} type=sha + - name: Login to Docker Hub uses: docker/login-action@v3 with: