fix(ci): docker buildx build 删除不支持的 --context flag,改为末尾位置参数 .
构建并部署 BYW VoiceHub / Preflight 语法与构建检查 (push) Successful in 2m57s
构建并部署 BYW VoiceHub / 构建并推送容器镜像 (push) Failing after 4m14s
构建并部署 BYW VoiceHub / 部署到生产服务器 (push) Skipped

This commit is contained in:
2026-09-06 12:23:15 +08:00
parent 7b8dabdb49
commit d98fe53658
+2 -2
View File
@@ -292,7 +292,6 @@ jobs:
fi
docker buildx build \
--context . \
--file ./Dockerfile \
--platform linux/amd64 \
--push \
@@ -303,7 +302,8 @@ jobs:
--tag "${IMG_LATEST}" \
--label "org.opencontainers.image.source=${OCS_SOURCE}" \
--label "org.opencontainers.image.revision=${OCS_REVISION}" \
--label "org.opencontainers.image.created=${OCS_CREATED}"
--label "org.opencontainers.image.created=${OCS_CREATED}" \
.
- name: 镜像体积与层信息
env: