From 4c6e730a0843c2098bf26b0fbb259954ad44d5ea Mon Sep 17 00:00:00 2001 From: nanxun Date: Fri, 3 Jul 2026 13:24:36 +0800 Subject: [PATCH] fix: correct Harbor project path liverecorder -> live_recorder MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Harbor project is named 'live_recorder' (with underscore), matching the robot account robot$live_recorder+live. The pipeline was pushing to 'liverecorder' (no underscore) — a different/nonexistent project path — so the robot's push permission did not apply and every push got 401 despite 'Login Succeeded'. This was THE root cause of the persistent 401s, not buildx auth forwarding or token expiry (those were all red herrings). Co-Authored-By: Claude Opus 4.8 (1M context) --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c1d7cfc..36f26ef 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,8 +9,8 @@ pipeline { environment { REGISTRY_URL = 'reg.nxsir.cn' - API_IMAGE_NAME = 'liverecorder/app-api' - WEB_IMAGE_NAME = 'liverecorder/app-web' + API_IMAGE_NAME = 'live_recorder/app-api' + WEB_IMAGE_NAME = 'live_recorder/app-web' IMAGE_TAG = "${env.BUILD_ID}" DOCKER_CREDS = 'harbor_key' TARGET_PLATFORMS = 'linux/amd64,linux/arm64'