Quarkus Container Image: Generated Image Digest?

131 views
Skip to first unread message

Wanja Pernath

unread,
Jun 29, 2021, 7:07:19 AM6/29/21
to Quarkus Development mailing list
Hi!

Maybe it‘s me not finding the right property, but is there a way to tell quarkus to generate an „image-digest“ file? 

Background is: I am creating a tekton pipeline which should use as much of quarkus build-in tools as possible to compile, test, package, build and push the image to a quay.io repository etc. 

As I am trying to do some GitOps stuff, I‘d like to use the Image-Digest instead of „latest“ tag to use in my kubernetes deployment.yaml.

Now I am wondering how to get the image digest from the generated image. 

I am using JIB to build the image. And according to the JIB project page, they are automatically generating an image-digest file in target/. 


Is there a way to tell Quarkus to generate the image-digest file as well?

Thanks a lot for your help!

Cheers,
  Wanja

Georgios Andrianakis

unread,
Jun 29, 2021, 7:12:42 AM6/29/21
to w.pe...@gmail.com, Quarkus Development mailing list
Hi,

We don't have that, but I am sure we can add it if Jib already has this capability.
Can you please open an issue so we can track the request?

Thanks

--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/e8bc0412-6024-4c7e-b965-2bdbbed7a463n%40googlegroups.com.

Wanja Pernath

unread,
Jun 29, 2021, 7:22:43 AM6/29/21
to Quarkus Development mailing list
Wow, great… that‘s what I call fast! :-)

Thank you! And the issue can be found here: https://github.com/quarkusio/quarkus/issues/18233

Cheers,
  Wanja

Georgios Andrianakis

unread,
Jun 29, 2021, 7:33:09 AM6/29/21
to w.pe...@gmail.com, Quarkus Development mailing list
Thanks 👍

I'll take a look

Wanja Pernath

unread,
Jul 7, 2021, 7:20:17 PM7/7/21
to Quarkus Development mailing list
Just wanted to say: Thank you! -- I have used quarkus 2.0.1.Final and everything works as expected. 

I am now able to easily create a Tekton Pipeline purely based on Quarkus maven goals. Awesome! That saves so much time, because I don't have to deal with buildah stuff. 

BTW, the demo can be found here: https://github.com/wpernath/quarkus-simple

(The corresponding blog post for explaining everything step by step will be released end of July)

Cheers, 
  Wanja

Georgios Andrianakis

unread,
Jul 8, 2021, 12:39:37 AM7/8/21
to w.pe...@gmail.com, Quarkus Development mailing list
Reply all
Reply to author
Forward
0 new messages