fix: use single-line kaniko command with proper quoting
Multiline backslash continuation may have shell expansion issues. Using single line with quoted arguments instead. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -86,12 +86,7 @@ steps:
|
||||
echo "Building Docker image version: $VERSION"
|
||||
mkdir -p /kaniko/.docker
|
||||
echo "{\"auths\":{\"ghcr.io\":{\"username\":\"$GHCR_USERNAME\",\"password\":\"$GHCR_TOKEN\"}}}" > /kaniko/.docker/config.json
|
||||
/kaniko/executor \
|
||||
--context=$CI_WORKSPACE/PaperlessMCP \
|
||||
--dockerfile=$CI_WORKSPACE/PaperlessMCP/Dockerfile \
|
||||
--destination=ghcr.io/barryw/paperlessmcp:v${VERSION} \
|
||||
--destination=ghcr.io/barryw/paperlessmcp:latest \
|
||||
--build-arg=VERSION=${VERSION}
|
||||
/kaniko/executor --context="$CI_WORKSPACE/PaperlessMCP" --dockerfile="$CI_WORKSPACE/PaperlessMCP/Dockerfile" --destination="ghcr.io/barryw/paperlessmcp:v$VERSION" --destination="ghcr.io/barryw/paperlessmcp:latest" --build-arg="VERSION=$VERSION"
|
||||
depends_on: [version]
|
||||
|
||||
# Create git tag and push
|
||||
|
||||
Reference in New Issue
Block a user