pact-stub-server icon indicating copy to clipboard operation
pact-stub-server copied to clipboard

Get verified by AWS ECR Public Gallery

Open matanbaruch opened this issue 1 year ago • 5 comments

It would be nice to see pact-foundation in AWS Public Gallery https://docs.aws.amazon.com/AmazonECR/latest/public/public-gallery.html

(Since Docker Hub limits are pain)

matanbaruch avatar Sep 18 '23 18:09 matanbaruch

Hey hey,

I am not 100% sure if we have setup a dedicated AWS account for the Pact Org, will check.

Would publishing to GitHub ghcr.io help?

https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry

YOU54F avatar Sep 19 '23 12:09 YOU54F

YES!

Since we are using it with Github Actions :)

matanbaruch avatar Sep 19 '23 13:09 matanbaruch

Awesome,

I assume it should be as simple as adding a CR_PAT (across the org, so we can reuse for our different repos as it makes sense to be consistent)

and then at the end of each existing publish step, we can just retag with `ghcr.io//:

push and we are golden

YOU54F avatar Sep 19 '23 14:09 YOU54F

What are the Docker limits and how many images are you pulling 😂

Would love to hear more about your project, as I am sure others would in the community.

YOU54F avatar Sep 19 '23 14:09 YOU54F

We are using it in CI pipeline in Github Actions, The pact server is mocking our backend, so basically a lot! We currently cloned it to our internal AWS ECR, but it would be nice to get latest releases and multi-arch builds.

matanbaruch avatar Sep 19 '23 15:09 matanbaruch

Hey @matanbaruch,

Sorry this took so long!

I've finally got a release out for you publishing to ghcr for the pact-stub-server, publishing to ghcr, and producing multi-arch arm/amd64 images. The binaries themselves are statically built with musl now so will work across musl and glibc based distros.

I am tracking publishing all of our pact-foundation images to GHCR, which came out of the back of this request, so thank you

https://github.com/pact-foundation/devrel/issues/29

YOU54F avatar May 10 '24 15:05 YOU54F