Scott,

I think you are confusing two things.

A.  How the GitHub platform works
B.  What a GitHub Action is

While it is useful to know about A.,
I am more interested in B., and having GitHub Actions implemented for podman.

In my initial e-mail, I posted links to various GitHub Actions which are implemented
in GitHub Repositories.  These Actions can be used to do various things like
install docker toolchains, build containers, and push containers to registries,
all using GitHub runner infrastructure.

The actual implementation of these GitHub Actions is done in various languages.
For example, https://github.com/docker/build-push-action is implemented inTypeScript/JavaScript.

Actions implemented in the https://github.com/docker organization are implemented by Docker (the company),
so it is unlikely that they would be interested in adding podman support to these Actions.

If there were a set of equivalent GitHub Actions implemented in the https://github.com/containers organization
that worked with podman/buildah, that might be interesting to have.
--
Craig

On Thu, May 26, 2022 at 2:32 PM Scott McCarty <smccarty@redhat.com> wrote:
Craig,
    I think this is a question for GitHub, as Red Hat doesn't definitively know what GitHub software does. That said, I did a quick look at this [1] and see that "GitHub provides Ubuntu Linux, Microsoft Windows, and macOS runners to run your workflows" so I doubt it. 

So, in a perfect world, I'd file an RFE with GitHub for:
1. Add RHEL/Fedora option as a runner
2. Add actions for Podman

If you file these, this is something I can definitely push with our partner team who works with GitHub.


Best Regards
Scott M

On Thu, May 26, 2022 at 12:43 PM Craig Rodrigues <rodrigc@crodrigues.org> wrote:
Hi,

For Docker, there are a number of GitHub Actions with good documentation that can be used
to build containers, and push them to registries using docker build/buildx.

I've started using these Actions:

https://github.com/docker/setup-buildx-action/
https://github.com/docker/docker-login-action/
https://github.com/docker/build-push-action
https://github.com/docker/metadata-action

docs:
https://docs.github.com/en/actions/publishing-packages/publishing-docker-images

These docs and actions are actually quite good when setting up
automation in GitHub for building/pushing containers.

Are there equivalent GitHub Actions for using podman?

I still think that podman/buildah are overall better tools for building containers
than Docker.
--
Craig

_______________________________________________
Podman mailing list -- podman@lists.podman.io
To unsubscribe send an email to podman-leave@lists.podman.io


--


Scott McCarty
Product Management - RHEL Server
Email: smccarty@redhat.com
Phone: 312-660-3535
Cell: 330-807-1043
Web: http://crunchtools.com