OCI: support tag names

Bug #1897813 reported by Andreas Hasenack
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
High
Unassigned

Bug Description

When pushing an image to a registry, it looks like launchpad defaults to the "edge" tag name. This bug is two-fold I guess:
a) support arbitrary names in the push rule. Something like "repo/name:tag". This would mean that the image that lp just build would have to be retagged with "<tag>" before the push, or have some other way of requesting the tag name from the user prior to the build
b) support dynamic tags, for versions. Much like a deb build recipe has a version and adds it to d/changelog, we could want to have a version number as the tag, and push that to the registry.

Tags: oci
Tom Wardill (twom)
Changed in launchpad:
importance: Undecided → Critical
status: New → Triaged
tags: added: oci
Revision history for this message
Tom Haddon (mthaddon) wrote :

We'd also be very interested in this as we have some charms where application version upgrades are driven by changing the image location, so we'd like to be able to deploy `appteam/app:v1` and then trigger a version upgrade by changing to `appteam/app:v2` for instance. Having these created via the OCI recipe would be extremely useful.

Revision history for this message
Thomas Bechtold (toabctl) wrote (last edit ):

CPC team would also be interested in that. the ubuntu base images on dockerhub do have a SERIAL tag and we would like to be able to use that tag as well when pushing eg. to AWS ECR public.
Given that we don't want to adjust the oci recipe when the tag name changes, there must be eg. a file in the git repo in a specific format that can define tags and LP is reading that file then for applying the tags.

Revision history for this message
Cristian Gonzalez (cristiangsp) wrote :

Thanks for the interest shown on this one, it helps us know more about improvements that can be done Launchpad.

Unfortunately, the tagging process for ROCKs images and its ownership is something that is being evaluated right now by Product so although the suggested capability has potential to eventually exists there's no work being done on it right now.

Will keep you updated.

Thanks.

Colin Watson (cjwatson)
Changed in launchpad:
importance: Critical → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.