Skip to content

Replace kaniko with buildkit#34

Merged
biersoeckli merged 1 commit intomainfrom
feature/replace-kaniko-with-buildkit
Jul 26, 2025
Merged

Replace kaniko with buildkit#34
biersoeckli merged 1 commit intomainfrom
feature/replace-kaniko-with-buildkit

Conversation

@biersoeckli
Copy link
Owner

This pr relates to #33

Repository owner deleted a comment from vercel bot Jun 16, 2025
@biersoeckli biersoeckli requested a review from Copilot June 16, 2025 08:53
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR replaces the Kaniko-based image and arguments with BuildKit for container building.

  • Replaces the Kaniko image with BuildKit.
  • Updates the build arguments and command to use buildctl-daemonless.sh.
  • Removes the environment variable configuration for Git credentials by embedding them in the Git URL.
Comments suppressed due to low confidence (2)

src/server/services/build.service.ts:122

  • [nitpick] The removal of the environment variable assignment for Git credentials appears intentional with the new URL-based approach. Confirm that no downstream components rely on these environment variables for authentication.
if (app.gitUsername && app.gitToken) { ... } (removed block)

src/server/services/build.service.ts:67

  • Embedding credentials directly into the Git URL may expose sensitive data in logs or error messages. Please ensure that logs or error reporting do not inadvertently leak these credentials.
let gitContextUrl = `${app.gitUrl!}#refs/heads/${app.gitBranch}${contextPaths.folderPath ? ':' + contextPaths.folderPath : ''}`;

@biersoeckli biersoeckli merged commit 64ebfb5 into main Jul 26, 2025
5 checks passed
@biersoeckli biersoeckli deleted the feature/replace-kaniko-with-buildkit branch December 4, 2025 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants