-
Notifications
You must be signed in to change notification settings - Fork 59
Add initial scripts for image maintainers to use to auto-generate appropriate GitHub Actions #2
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 initial scripts for image maintainers to use to auto-generate appropriate GitHub Actions #2
Conversation
I did a little testing on this and was able to make it work reasonably transparently with |
…mes (quietly adjust PATH if bashbrew is already built)
999dc3f
to
b22f02e
Compare
Very successful non- |
This (plus docker-library/official-images#7888) has been used to successfully run tests in GitHub actions across the following images:
python
: https://github.com/docker-library/python/actions/runs/89429902mongo
: https://github.com/docker-library/mongo/actions/runs/89359532openjdk
: https://github.com/docker-library/openjdk/actions/runs/89385581julia
: https://github.com/docker-library/julia/actions/runs/89398688golang
: https://github.com/docker-library/golang/actions/runs/89404277postgres
: https://github.com/docker-library/postgres/actions/runs/89429254I've not done much testing/thinking around how I'd use this as a non-
docker-library
maintainer (esp. around my personal repos which I use this pattern for maintaining, for example), but I think this gives us a solid base to move outwards from.Most of this was made possible by https://github.blog/changelog/2020-04-15-github-actions-new-workflow-features/ -- I was hoping we could take this a step further and have the script directly generate
steps:
values (because that's way nicer looking, especially for builds that do multiple images; https://twitter.com/tianon/status/1253032501796147200), but the answer is no (maybe "not yet?" 🤞 😅).