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

wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-graalvm-distro.git


The following commit(s) were added to refs/heads/main by this push:
     new c73d78c  Use full commit SHA for Docker tags, add 1h timeout for 
native image builds
c73d78c is described below

commit c73d78cbea52ec0b250c81d10b40c6ca871a75d9
Author: Wu Sheng <[email protected]>
AuthorDate: Fri Mar 13 12:35:24 2026 +0800

    Use full commit SHA for Docker tags, add 1h timeout for native image builds
---
 .github/workflows/ci.yml | 5 ++++-
 CLAUDE.md                | 3 +++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 02bb548..3ea6a72 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -71,7 +71,8 @@ jobs:
       - name: Resolve build metadata
         id: meta
         run: |
-          echo "commit-sha=$(git rev-parse --short HEAD)" >> "$GITHUB_OUTPUT"
+          # Use full commit SHA for Docker tags (not --short)
+          echo "commit-sha=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
           # Determine if this is a release build
           if [[ "${{ github.ref_type }}" == "tag" ]]; then
             echo "version=${GITHUB_REF_NAME#v}" >> "$GITHUB_OUTPUT"
@@ -146,6 +147,7 @@ jobs:
     name: Native Linux ${{ matrix.arch }}
     runs-on: ${{ matrix.runner }}
     needs: init-skywalking
+    timeout-minutes: 60
     strategy:
       matrix:
         include:
@@ -264,6 +266,7 @@ jobs:
     name: Native macOS ${{ matrix.arch }}
     runs-on: ${{ matrix.runner }}
     needs: init-skywalking
+    timeout-minutes: 60
     if: github.event_name != 'pull_request'
     strategy:
       matrix:
diff --git a/CLAUDE.md b/CLAUDE.md
index ac59bbc..76b8a70 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -67,6 +67,9 @@ docker compose -f docker/docker-compose.yml up
 ## Git Commit Rules
 - **No Co-Authored-By**: Do not add `Co-Authored-By` lines to commit messages.
 
+## CI Rules
+- **Docker tags must use full commit SHA** (`git rev-parse HEAD`), never short 
SHA (`--short`). This applies to the `commit-sha` output in CI workflows.
+
 ## Selected Modules
 - **Storage**: BanyanDB
 - **Cluster**: Standalone, Kubernetes

Reply via email to