-
I've got an app created with:
Following this guide: https://quarkus.io/guides/container-image I'm building my app and pushing my container image with the following command:
I am trying to figure out how to add a custom label to the resulting image. I've tried using the property (documented below) as follows:
When I build I see this warning in the build log:
And as a result, I do not see my custom label when i inspect the built image:
Did I miss a step? Reproducer repo here: https://github.com/etsauer/quarkus-app |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
/cc @geoand (jib,kubernetes,openshift), @iocanel (kubernetes,openshift) |
Beta Was this translation helpful? Give feedback.
-
You would use it like so: quarkus.container-image.labels."io.openshift.build.commit.id"=bc0ec63a3b1f053fc95dd2f037958c84866773b8 |
Beta Was this translation helpful? Give feedback.
-
thanks @geoand that worked! |
Beta Was this translation helpful? Give feedback.
You would use it like so:
quarkus.container-image.labels."io.openshift.build.commit.id"=bc0ec63a3b1f053fc95dd2f037958c84866773b8