fix(ci): docker buildx build 删除不支持的 --context flag,改为末尾位置参数 .
This commit is contained in:
@@ -292,7 +292,6 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--context . \
|
|
||||||
--file ./Dockerfile \
|
--file ./Dockerfile \
|
||||||
--platform linux/amd64 \
|
--platform linux/amd64 \
|
||||||
--push \
|
--push \
|
||||||
@@ -303,7 +302,8 @@ jobs:
|
|||||||
--tag "${IMG_LATEST}" \
|
--tag "${IMG_LATEST}" \
|
||||||
--label "org.opencontainers.image.source=${OCS_SOURCE}" \
|
--label "org.opencontainers.image.source=${OCS_SOURCE}" \
|
||||||
--label "org.opencontainers.image.revision=${OCS_REVISION}" \
|
--label "org.opencontainers.image.revision=${OCS_REVISION}" \
|
||||||
--label "org.opencontainers.image.created=${OCS_CREATED}"
|
--label "org.opencontainers.image.created=${OCS_CREATED}" \
|
||||||
|
.
|
||||||
|
|
||||||
- name: 镜像体积与层信息
|
- name: 镜像体积与层信息
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user