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

Enable PRs from external forks to pass CI #72

Merged
merged 8 commits into from
Apr 11, 2024

Conversation

sdankel
Copy link
Member

@sdankel sdankel commented Apr 10, 2024

External contributors do not have permission to push to ghcr. To allow external PRs to run all of the workflows, we should only push to ghcr when necessary.

Example: #59

This PR changes the workflow so that we only push to ghcr on merges to master. On PRs, we build the docker image and push to a local registry that can be used in a later step.

@sdankel sdankel marked this pull request as ready for review April 10, 2024 23:14
@sdankel sdankel requested a review from a team April 10, 2024 23:14
@sdankel sdankel self-assigned this Apr 10, 2024
@sdankel sdankel changed the title Build docker without pushing on pr branches Enable external forks to pass CI Apr 10, 2024
@sdankel sdankel changed the title Enable external forks to pass CI Enable PRs from external forks to pass CI Apr 10, 2024
@sdankel sdankel merged commit bf29ef9 into master Apr 11, 2024
10 checks passed
@sdankel sdankel deleted the sophie/ci-build-without-push branch April 11, 2024 00:09
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