devcontainers / devcontainers/cli

`build --push` pushes wrong image name

Aperta
#612 7 commenti 0 reazioni 1 assegnatario Rivendicata da @chrmarti Vedi su GitHub
bug
Lingua principale
TypeScript
Stelle
3k
Fork
457
Merge medio
13h 17m
PR unite (30g)
6

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.