devcontainers / devcontainers/cli

`build --push` pushes wrong image name

未关闭
#612 7 条评论 0 个 reaction 已指派 1 人 已被 @chrmarti 认领 在 GitHub 查看
bug
主要语言
TypeScript
星标
3k
派生
457
平均合并
13 小时 17 分钟
30 天内合并 PR
6

描述

When doing a `devcontainer build --workspace-folder . --image-name my/image:tag --push` the wrong image (e.g. `vsc-devcontainer-839d9d58687bee078581a54501bbf0ec1d94e4e7a1e7d74dd0f0f02c09f29e0c-features`) is pushed instead. The name used seems to be the same as if you do not specify a `--image-name` at all.

The only workaround is to build the image without `--push` and push it "manually" after the invocation of `devcontainer build`. However this can't be used to build and push a multiarch image in buildx, as this needs to be pushed directly out of buildx.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。