Skip to content

Migrate builds to GHA#94

Merged
hugovk merged 4 commits intopython-pillow:masterfrom
nulano:gha
Nov 16, 2020
Merged

Migrate builds to GHA#94
hugovk merged 4 commits intopython-pillow:masterfrom
nulano:gha

Conversation

@nulano
Copy link
Copy Markdown
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
Copy Markdown
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!

@hugovk
Copy link
Copy Markdown
Member

hugovk commented Nov 4, 2020

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
@nulano
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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