aws-cli icon indicating copy to clipboard operation
aws-cli copied to clipboard

Push fails when image already exists on repository with tag and is immutable

Open daveisfera opened this issue 9 months ago • 1 comments

Describe the bug

Pushing an image to a tag where it already exists reports an error

Expected Behavior

If the image is identical, then it should report that it already exists without an error

Current Behavior

An error is reported with return code 254

Reproduction Steps

  1. Put an image with a tag
  2. Put the the same image with the same tag

Possible Solution

Report that it already exists and return success

Additional Information/Context

No response

CLI version used

aws-cli/2.15.17 Python/3.11.7 Darwin/23.4.0 source/x86_64 prompt/off

Environment details (OS name and version, etc.)

macOS 14.4.1

daveisfera avatar May 06 '24 20:05 daveisfera

Here's an issue from the docker repo: https://github.com/moby/buildkit/issues/3776

daveisfera avatar May 06 '24 21:05 daveisfera