!20 增加配置:每次构建docker镜像时,可同时构建arm64镜像

* 增加配置:每次构建docker镜像时,可同时构建arm64镜像
This commit is contained in:
tzk007 2023-06-09 07:42:41 +00:00 committed by MaxKeyTop
parent 53165860b6
commit 180b25d824
3 changed files with 30 additions and 0 deletions

View File

@ -18,6 +18,16 @@ description = "maxkey-web-maxkey"
jib {
from {
image = "${jibFromImage}"
platforms {
platform {
architecture = 'amd64'
os = 'linux'
}
platform {
architecture = 'arm64'
os = 'linux'
}
}
}
to {
//https://registry.hub.docker.com/repository/docker/maxkeytop/maxkey

View File

@ -18,6 +18,16 @@ description = "maxkey-web-mgt"
jib {
from {
image = "${jibFromImage}"
platforms {
platform {
architecture = 'amd64'
os = 'linux'
}
platform {
architecture = 'arm64'
os = 'linux'
}
}
}
to {
//https://registry.hub.docker.com/repository/docker/maxkeytop/maxkey-mgt

View File

@ -18,6 +18,16 @@ description = "maxkey-web-openapi"
jib {
from {
image = "${jibFromImage}"
platforms {
platform {
architecture = 'amd64'
os = 'linux'
}
platform {
architecture = 'arm64'
os = 'linux'
}
}
}
to {
//https://registry.hub.docker.com/repository/docker/maxkeytop/maxkey-openapi