-
Notifications
You must be signed in to change notification settings - Fork 27
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
Missing version tags for images #456
Comments
|
Actually what's interesting is each repo (serving,eventing) will build their own storageversion/cmd/migrate - and upload to the same image registry location. Not sure what the best thing to here. |
@dprotaso I think it can be better handled by using semantic-release versioning tool which automates the whole package release workflow including: determining the next version number, generating the release notes, and publishing the package. |
It's not the versioning number or the release tool. It's that both eventing and serving when performing a release will build the same image and upload it to the same registry repo. Even when we tag it we'll get one overwritting the other. |
Moving this to test/infra cause I'm not sure what's the best thing to do here. We could just start tagging the image. |
Alternatively we could refactor the logic out of the main method here into a function and call those in respective repos (serving, eventing) https://github.com/knative/pkg/blob/main/apiextensions/storageversion/cmd/migrate/main.go |
@dprotaso For Approach1 that images are uniquely tagged to prevent overwriting. Can we have a reusable action something like this?
And we can update the serving/eventing workflow like this:
|
@dprotaso Any guidance on my approach? |
Expected Behavior
Related to knative/eventing#5574
When pulling this image, it is expected to see semver tags (or some other versioning)
gcr.io/knative-releases/knative.dev/pkg/apiextensions/storageversion/cmd/migrate
Actual Behavior
There are no versions, only "latest"
Steps to Reproduce the Problem
Additional Info
The text was updated successfully, but these errors were encountered: