You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by zh...@apache.org on 2024/07/19 17:12:58 UTC

(incubator-devlake) 01/01: adjust feat and bugfix branchto build image

This is an automated email from the ASF dual-hosted git repository.

zhangning pushed a commit to branch feat-adjust-ci-to-build-image-on-specified-branch-pushes
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git

commit 0ffa67741ca9c2b76a394501a18e4a38a319a50f
Author: ZhangNing10 <ni...@merico.dev>
AuthorDate: Sat Jul 20 01:10:42 2024 +0800

    adjust feat and bugfix branchto build image
---
 .github/workflows/build.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 29f442ba1..ad0fc542d 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -26,6 +26,8 @@ on:
     branches:
       - main
       - release-*
+      - feat-*
+      - bugfix-*
 
 jobs:
   build-and-push-builder:
@@ -122,7 +124,7 @@ jobs:
     steps:
       - name: Get build timestamp
         id: ts
-        run: echo "timestamp=$(date '+%y%m%d_%H%M')" >> $GITHUB_OUTPUT
+        run: echo "timestamp=$(date '+%y%m%d_%H%M%S')" >> $GITHUB_OUTPUT
   build-and-push-devlake:
     needs: [build-devlake, build-and-push-base, get-timestamp]
     name: Build and Push devlake image