fix(ci): docker buildx build 删除不支持的 --context flag,改为末尾位置参数 .
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user