Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uds publish <ocipath> --version does not completely honor the tag override #1008

Open
michaelabix opened this issue Nov 1, 2024 · 0 comments
Labels
possible-bug Something may not be working

Comments

@michaelabix
Copy link

michaelabix commented Nov 1, 2024

Environment

App version: v0.18.0

Steps to reproduce

  1. Publish a uds bundle to a registry by running uds publish <ociPath> --version 0.0.1-test
  2. Check the registry for the new artifact

Expected result

One artifact tagged with the --version override of 0.0.1-test

Actual Result

Two artifacts - one tagged with the version metadata from inside the bundle and one tagged with the version override

Visual Proof (screenshots, videos, text, etc)

Screenshot 2024-11-01 at 10 46 41 AM

Severity/Priority

Additional Context

This is something that deliver and others requested in August, as many of us had been overriding the version by using sed or yq on the uds-bundle.yaml file in pipelines prior to running the uds create command. This prevents us from inadvertently overwriting production releases that have the same version. Technically there's a workaround, but this is very inconvenient.

Tag overrides were originally requested in #888

@michaelabix michaelabix added the possible-bug Something may not be working label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
possible-bug Something may not be working
Projects
None yet
Development

No branches or pull requests

1 participant