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 should always run, even in forks #26801

Merged
merged 6 commits into from
Jan 25, 2024
Merged

Conversation

mistercrunch
Copy link
Member

@mistercrunch mistercrunch commented Jan 25, 2024

Realized that docker build should always runs, and simply not --push if we're not in master / don't have the creds. The logic in the bash script already exists for that.

After this PR, docker will always run, though outside of the main fork, it won't push to docker hub.

Testing

Using this PR, that is against the main fork, I validated that:

  • the docker build matrix is triggered properly
  • the docker command --push to the repo
  • check cache settings

Using the sibling PR #26802 that is identical but against a fork, I validated that:

  • same as above, except that the docker command does --load
  • check that --cache-to is NOT set

Realized that docker build should always runs, and simply not `--push`
if we're not in `master` / don't have the creds.

After this PR, docker will always run, though outside of the main fork,
it won't push to docker hub.
@pull-request-size pull-request-size bot added size/M and removed size/S labels Jan 25, 2024
@mistercrunch mistercrunch merged commit 845bcc9 into master Jan 25, 2024
52 checks passed
@mistercrunch mistercrunch deleted the fix_docker_again branch January 25, 2024 19:33
eschutho pushed a commit to preset-io/superset that referenced this pull request Jan 31, 2024
sfirke pushed a commit to sfirke/superset that referenced this pull request Mar 22, 2024
@mistercrunch mistercrunch added the 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels label Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/M 🚢 4.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants