StephenMiracle / frankenwp

MIT License
117 stars 11 forks source link

Actions build pipeline #10

Closed StephenMiracle closed 3 months ago

StephenMiracle commented 4 months ago

Need a build pipeline using github actions to deploy into Docker hub.

PascaleBeier commented 4 months ago

I cobbled something together to test some changes, maybe it helps? This only builds for amd64 and arm64.

Still don't know what the best way to build for all platforms is, I looked into the main frankenphp repo as well

https://github.com/PascaleBeier/frankenwp/blob/main/.github/workflows/build-docker-images.yml

StephenMiracle commented 4 months ago

Ya, that's pretty good. AMD64, ARM64 & ARM v7 are the 3 that's currently building for.

I've added the github docker action to the repo which builds and pushes to github container registry which is nice for PRs and testing. But, do need to get it to Docker hub as well.

I also want to setup a unique docker hub organization so its not under my name, but that costs like $30 / month and my wife has told me to stop buying "toys".

scheibling commented 3 months ago

@StephenMiracle You could just create a regular account with the name, and then convert it to an organization some time in the future if need be

StephenMiracle commented 3 months ago

Just saw comment @scheibling . That is similar to what I did. I already had a wpeverywhere account and read article that you can switch to organization.

Here's the new org. The pipelines now build and deploy to there. https://hub.docker.com/r/wpeverywhere/frankenwp