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

Use aproxy for the oci-publish step for self-hosted runners #158

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

plars
Copy link
Contributor

@plars plars commented Nov 8, 2023

self-hosted runners have very restrictive rules for network access. As a result, pulling docker base images to build and publish OCI images requires a proxy. IS devops has been working on this solution called aproxy, which will eventually be installed by default on the self-hosted runners. So eventually we can just remove this section from the workflow, but for now it's needed in order to get OCI image publishing working again.

Testing

I ran the action against this branch and it passed here: https://github.com/canonical/testflinger/actions/runs/6795492316/job/18473690576

@plars plars force-pushed the use-aproxy-oci-publish branch from 10a0cc9 to 8c8db04 Compare November 8, 2023 08:16
@plars plars marked this pull request as ready for review November 9, 2023 07:26
@plars plars requested a review from a team November 9, 2023 07:27
Copy link

@omar-selo omar-selo left a comment

Choose a reason for hiding this comment

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

Nice find. Also glad IS is going to configure this by default in self hosted runners.

@plars plars merged commit 55e9662 into main Nov 9, 2023
1 check passed
@plars plars deleted the use-aproxy-oci-publish branch November 9, 2023 18:35
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.

2 participants