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

Migrate builds to GHA #94

Merged
merged 4 commits into from
Nov 16, 2020
Merged

Migrate builds to GHA #94

merged 4 commits into from
Nov 16, 2020

Conversation

nulano
Copy link
Contributor

@nulano nulano commented Nov 4, 2020

Fixes #68

For python-pillow/Pillow#5028

The script is almost an exact copy from Travis, except updated to GHA syntax; there is just one small change due to file permissions: sudo chmod a+w . added at the start of the build and the sudo chown command moved later.

Docker login details need to be stored as a Github Secret in DOCKER_USERNAME and DOCKER_PASSWORD.

Copy link
Member

@hugovk hugovk left a comment

Choose a reason for hiding this comment

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

(Consistency nits)

Thanks!

.github/workflows/build.yml Outdated Show resolved Hide resolved
.github/workflows/build.yml Outdated Show resolved Hide resolved
.github/workflows/build.yml Outdated Show resolved Hide resolved
.github/workflows/build.yml Outdated Show resolved Hide resolved
@hugovk
Copy link
Member

hugovk commented Nov 4, 2020

.github/mergify.yml Outdated Show resolved Hide resolved
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
@nulano
Copy link
Contributor Author

nulano commented Nov 4, 2020

As a test/demonstration, I have also pushed the built images to my Docker account and tested here: https://github.com/nulano/Pillow/actions/runs/346068049/workflow#L44

@hugovk
Copy link
Member

hugovk commented Nov 16, 2020

Let's merge and add credentials later. Thanks!

@hugovk hugovk merged commit 8e72e7a into python-pillow:master Nov 16, 2020
@wiredfool
Copy link
Member

wiredfool commented Nov 16, 2020

Sorry, this disappeared into my backlog, I’ll try to dig out the creds.

@nulano nulano deleted the gha branch March 16, 2023 10:00
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.

Test with GitHub Actions
3 participants