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

add PR workflow #115

Merged
merged 7 commits into from
Feb 3, 2020
Merged

add PR workflow #115

merged 7 commits into from
Feb 3, 2020

Conversation

scottyhq
Copy link
Member

creating PRs from forked repos will require users set up DOCKERHUB_PASSWORD and DOCKERHUB_USERNAME secrets in their fork. This is because GitHub Actions run in the forked branch for PRs and therefore don't have access to repo secrets.

This is testing a PR created from a branch with the new github actions build

@scottyhq
Copy link
Member Author

@jhamman - this seems to work, so I say we merge as a temporary fix. There are some akward temporary fixes though (see #NOTE comments in build.py). Perhaps it's worth considering a bigger refactor (pinging @yuvipanda). Or as discussed on the call this week, only maintaining a single base-image that uses a conda metapackage for "pangeo-base" https://docs.conda.io/projects/conda-build/en/latest/resources/commands/conda-metapackage.html

What I don't like in general is that this will clutter DockerHub with lots of "-PR" tagged images. But the Action workflow now uses a matrix configuration which is much cleaner.

@scottyhq
Copy link
Member Author

scottyhq commented Jan 31, 2020

closes #15 and #114

@jhamman jhamman merged commit 0853dbb into master Feb 3, 2020
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