workflow: add docker build and push job

This commit is contained in:
Shuanglei Tao
2021-01-27 23:54:06 +08:00
parent cea978eb93
commit e5fb0598db
5 changed files with 64 additions and 24 deletions

View File

@@ -153,6 +153,9 @@ build() {
build_ttyd
}
[ "${BUILD_TARGET}" = "amd64" ] && BUILD_TARGET="x86_64"
[ "${BUILD_TARGET}" = "arm64" ] && BUILD_TARGET="aarch64"
case ${BUILD_TARGET} in
i686|x86_64|aarch64|mips|mipsel|mips64|mips64el)
build "${BUILD_TARGET}-linux-musl" "${BUILD_TARGET}"