devcontainers / devcontainers/cli

`build --push` pushes wrong image name

Đang mở
#612 7 bình luận 0 reaction 1 người được giao Được @chrmarti nhận Xem trên GitHub
bug
Ngôn ngữ chính
TypeScript
Star
3k
Fork
457
Merge trung bình
13 giờ 17 phút
Pull request đã merge (30 ngày)
6

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.