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>
This commit is contained in:
root 2026-05-12 05:16:35 +00:00
parent b275653d3a
commit 08a617a94e

View File

@ -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}" \