mirror of
https://github.com/YuCat-OVO/BaiduNetdisk-Docker
synced 2025-05-10 20:10:04 +08:00
ARCH default
This commit is contained in:
parent
fbfb6080a4
commit
9b8510bd85
@ -3,7 +3,7 @@ variable "DEFAULT_TAG" {
|
||||
}
|
||||
|
||||
variable "ARCH" {
|
||||
default = "arm64"
|
||||
default = "amd64"
|
||||
}
|
||||
|
||||
target "docker-metadata-action" {
|
||||
@ -16,7 +16,7 @@ group "default" {
|
||||
|
||||
target "image" {
|
||||
inherits = ["docker-metadata-action"]
|
||||
dockerfile = format("Dockerfile%s", equal("amd64", ARCH) ? ".${ARCH}" : "")
|
||||
dockerfile = format("Dockerfile%s", equal("amd64", ARCH) ? "" : ".${ARCH}")
|
||||
}
|
||||
|
||||
target "image-local" {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user