From 97b1ab23d8f61602ffd1defc9739aa1464aae68c Mon Sep 17 00:00:00 2001 From: Kelly Date: Wed, 10 Dec 2025 14:56:18 -0700 Subject: [PATCH] fix(ci): Use YAML list format for docker-buildx build_args MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The woodpecker docker-buildx plugin expects build_args as a YAML list, not a comma-separated string. The previous format resulted in all args being passed as a single malformed arg with "*=" prefix. This fix ensures APP_GIT_SHA, APP_BUILD_TIME, etc. are properly passed to the Dockerfile so the /api/version endpoint returns correct values. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .woodpecker/.ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.woodpecker/.ci.yml b/.woodpecker/.ci.yml index b1712481..b4296f76 100644 --- a/.woodpecker/.ci.yml +++ b/.woodpecker/.ci.yml @@ -89,7 +89,11 @@ steps: from_secret: registry_password platforms: linux/amd64 provenance: false - build_args: APP_BUILD_VERSION=${CI_COMMIT_SHA:0:8},APP_GIT_SHA=${CI_COMMIT_SHA},APP_BUILD_TIME=${CI_PIPELINE_CREATED},CONTAINER_IMAGE_TAG=${CI_COMMIT_SHA:0:8} + build_args: + - APP_BUILD_VERSION=${CI_COMMIT_SHA:0:8} + - APP_GIT_SHA=${CI_COMMIT_SHA} + - APP_BUILD_TIME=${CI_PIPELINE_CREATED} + - CONTAINER_IMAGE_TAG=${CI_COMMIT_SHA:0:8} depends_on: [] when: branch: master