garden icon indicating copy to clipboard operation
garden copied to clipboard

0.13: [Bug]: `garden publish` command behavior difference between `0.12` and `0.13`

Open vvagaytsev opened this issue 1 year ago • 4 comments

Garden Bonsai (0.13) Bug

Current Behavior

Check the garden publish command difference between 0.12 and 0.13. Garden 0.13 produces weird results. It appears to:

  1. Download the image from the garden / source registry.
  2. Import that into the local docker with the target registry and original tag.
  3. Re-tag that image with an identical image registry / name and tag that was used in 1, to download it and then push it back again.

Running the identical command works fine with garden 0.12. (i.e. it published to the expected registry image and tag).

Expected behavior

Behavior should be the same as in 0.12.

Reproducible example

See above.

Workaround

Not known.

Suggested solution(s)

Additional context

Your environment

  • OS:
  • How I'm running Kubernetes:

garden version 0.13.22

vvagaytsev avatar Dec 19 '23 11:12 vvagaytsev

@vvagaytsev How to reproduce this? Does this happen with one of our example projects?

stefreak avatar Dec 20 '23 10:12 stefreak

Possibly related with (or even a duplicate of?) https://github.com/garden-io/garden/issues/5094

stefreak avatar Dec 20 '23 10:12 stefreak

This might also be related to #4095 (#4740).

vvagaytsev avatar Dec 20 '23 14:12 vvagaytsev

This could be related to #4796 (#4808) too.

vvagaytsev avatar Dec 20 '23 16:12 vvagaytsev

Could be related to #5045.

vvagaytsev avatar May 13 '24 13:05 vvagaytsev

Closing in favour of #6050 that has more context and a clear reproducible example.

vvagaytsev avatar May 16 '24 13:05 vvagaytsev