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

Fix Docker auths script to use environment variable values and handle… #670

Merged
merged 23 commits into from
Feb 11, 2025

Conversation

jordyantunes
Copy link
Contributor

@jordyantunes jordyantunes commented Jan 30, 2025

This pull request contains fixes in the remote image building, specially when trying to push to an external registry.

Fixes:

  • apolo_extras/assets/merge_docker_auths.sh: Fixed an issue that happened when the registry env var contained formatted json and our script would only get the first line of that json
  • apolo_extras/image.py: If it is not possible to convert a image_uri to a platform image uri it may be because the user is trying to push to an external registry. So we do not stop the execution in this case
  • Fixed linting errors by updating dependency on apolo-cli

Test configuration enhancements:

@github-actions github-actions bot added the review-ready PR is ready for the review label Jan 30, 2025
Copy link

@costefan costefan left a comment

Choose a reason for hiding this comment

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

Great, thanks!

Copy link
Collaborator

@YevheniiSemendiak YevheniiSemendiak left a comment

Choose a reason for hiding this comment

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

Great job mate!

Copy link

@costefan costefan left a comment

Choose a reason for hiding this comment

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

LGTM

@jordyantunes jordyantunes enabled auto-merge (squash) February 3, 2025 14:13
@jordyantunes jordyantunes merged commit 4244252 into master Feb 11, 2025
19 checks passed
@jordyantunes jordyantunes deleted the fix-external-registry branch February 11, 2025 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review-ready PR is ready for the review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants