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 push for non-forks #1499

Merged
merged 12 commits into from May 2, 2024
Merged

Fix docker push for non-forks #1499

merged 12 commits into from May 2, 2024

Conversation

rbren
Copy link
Collaborator

@rbren rbren commented May 1, 2024

Apparently the existing check to see if we were on a fork was always (?) false--don't believe everything you read on Stack Overflow!

Seems there might be some flaky issues with --push, I believe as a result of #1426

From what I've gathered, running chown on a big directory creates a huge layer, and big layers seem to cause issues w/ GitHub actions. This uses the more efficient COPY --chown method

I'm also removing the "Free Disk Space" bit, because it shouldn't be necessary (we have 20GB), and takes a little while.

@rbren rbren marked this pull request as ready for review May 1, 2024 19:51
@rbren rbren requested a review from xingyaoww May 1, 2024 23:30
@rbren rbren enabled auto-merge (squash) May 1, 2024 23:54
Copy link
Collaborator

@xingyaoww xingyaoww left a comment

Choose a reason for hiding this comment

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

LGTM!!

@rbren rbren merged commit cfef3ee into main May 2, 2024
23 checks passed
@rbren rbren deleted the rb/fix-fork-check branch May 2, 2024 02:15
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.

None yet

2 participants