Skip to content
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

Publish images to Github Container Registry #61

Closed
matanbaruch opened this issue Sep 18, 2023 · 6 comments
Closed

Publish images to Github Container Registry #61

matanbaruch opened this issue Sep 18, 2023 · 6 comments

Comments

@matanbaruch
Copy link

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)

@YOU54F
Copy link
Member

YOU54F commented Sep 19, 2023

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

@matanbaruch
Copy link
Author

YES!

Since we are using it with Github Actions :)

@YOU54F
Copy link
Member

YOU54F commented Sep 19, 2023

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
Copy link
Member

YOU54F commented Sep 19, 2023

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.

@matanbaruch
Copy link
Author

matanbaruch commented Sep 19, 2023

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.

@YOU54F
Copy link
Member

YOU54F commented May 10, 2024

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

pact-foundation/roadmap#29

@YOU54F YOU54F closed this as completed May 10, 2024
@YOU54F YOU54F changed the title Get verified by AWS ECR Public Gallery Publish images to Github Container Registry May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Closed
Development

No branches or pull requests

2 participants