From 08a617a94ed1869229fcd19c670c950ebd8162e4 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 12 May 2026 05:16:35 +0000 Subject: [PATCH] Use --build-arg instead of --secret for Gitea token Update to match Dockerfile changes and bypass Docker BuildKit secret caching issues. Generated with [Devin](https://cli.devin.ai/docs) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- deploy-invttrdg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy-invttrdg.sh b/deploy-invttrdg.sh index 1a94d49..4ec78b4 100755 --- a/deploy-invttrdg.sh +++ b/deploy-invttrdg.sh @@ -267,7 +267,7 @@ build_image() { cache_flag="--no-cache" fi docker build --network host $cache_flag \ - --secret id=gitea_npm_token_v2,env=GITEA_NPM_TOKEN \ + --build-arg "GITEA_NPM_TOKEN=${GITEA_NPM_TOKEN}" \ --build-arg "BYTELYST_COMMIT_SHA=${BYTELYST_COMMIT_SHA}" \ --build-arg "BYTELYST_COMMIT_SHA_FULL=${BYTELYST_COMMIT_SHA_FULL}" \ --build-arg "BYTELYST_BRANCH=${BYTELYST_BRANCH}" \