Skip to content

[Bug] Use an automatically inferred project name to pull from the repository for a local project #12092

@CNCoreSteb

Description

@CNCoreSteb

Contact Information

cncoresteb@gmail.com

1Panel Version

v2.1.2

Problem Description

在专业版V2.1.1之前均正常,2.1.2更新之后出现此问题,对于编排文件存在 build: . 时,面板会自动使用自动推测的镜像名去公开docker hub拉取,最终无法创建
使用相同编排文件构建的测试结果如下

Steps to Reproduce

编排文件前四行:
services:
xxxxxxx:
build: .
container_name: tqiu_server_xxxxxxx
专业版 V2.1.2,创建失败:
Image

The expected correct result

社区版V2.1.1(正常构建)
Image

Related log output

Additional Information

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions