Skip to content

fix: dockerfile action can't parse BUILKIT_ENABLE in docker env#82

Open
iutx wants to merge 1 commit into
erda-project:masterfrom
iutx:fix/dockerfile-action-in-docker
Open

fix: dockerfile action can't parse BUILKIT_ENABLE in docker env#82
iutx wants to merge 1 commit into
erda-project:masterfrom
iutx:fix/dockerfile-action-in-docker

Conversation

@iutx

@iutx iutx commented Oct 11, 2025

Copy link
Copy Markdown
Member

Description

fix dockerfile action can't parse BUILKIT_ENABLE in docker env
@sfwn

@iutx iutx requested a review from sfwn October 11, 2025 09:26
}

if isBuildkitEnable {
if cast.ToBool(cfg.BuildkitEnable) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

How about set the type of cfg.BuildkitEnable to bool directly? Or you should add unit test to clarify the bad case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants