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:
parent
b275653d3a
commit
08a617a94e
@ -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}" \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user