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

gha: add ECR as registry to push images to #289

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ivotron
Copy link
Member

@ivotron ivotron commented Mar 19, 2025

Adds an ECR registry as another publishing target for images. The AWS IAM role that is assumed as part of the execution of this workflow contains the right permissions to allow the login and push operation to work as it should.

part of https://redpandadata.atlassian.net/browse/DEVPROD-2735

@ivotron ivotron force-pushed the add-ecr-repo branch 5 times, most recently from 460f8c5 to 11d1c7a Compare March 20, 2025 03:56
Signed-off-by: Ivo Jimenez <ivo.jimenez@gmail.com>
@ivotron
Copy link
Member Author

ivotron commented Mar 20, 2025

These changes were tested from a DNM change in 11d1c7a (that was reverted). The resulting run of the workflow is in https://github.com/redpanda-data/kminion/actions/runs/13961649257, with an image successfully pushed to https://gallery.ecr.aws/l9j0i2e0/kminion (tag pr-289).

@ivotron ivotron marked this pull request as ready for review March 20, 2025 05:54
@ivotron ivotron requested review from gousteris and weeco March 20, 2025 05:54
@@ -47,6 +48,14 @@ jobs:
with:
username: ${{ env.DOCKERHUB_USER }}
password: ${{ env.DOCKERHUB_TOKEN }}
- uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: us-east-1
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this has to be us-east-1 as this is the only region that supports public ECR repos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant