owntracks / docker-recorder

Docker image for OwnTracks Recorder
151 stars 68 forks source link

Stage OCI container images through GitHub Actions (GHA) to GitHub Container Registry (GHCR) / Provide OCI images for ARM64 #69

Open amotl opened 1 year ago

amotl commented 1 year ago

Even if GH-66 is not strictly needed, as Docker Inc. will continue their FOSS offering, this patch would set the stage to do so without much ado.

Its main purpose, however, is to resolve GH-68, and start providing OCI images for ARMv7 and ARM64, other than AMD64. We are using this recipe on a few other repositories, including mqttwarn, and it works well.

As a benefit in comparison to the previous build system, this recipe will provide image variants for latest, nightly, and pr-XXX builds.

amotl commented 1 year ago

Hm. I see. What's special here is that it's a separate repository, and connects to the release of the recorder program using the RECORDER_VERSION definition within Dockerfile. Because of that, this recipe will not be able to deliver its full feature set.

Would you fancy a re-thinking of this architecture, by folding the contents of this repository into a oci-packaging directory of the recorder repository [^1], where actual development is happening? In this manner, all pieces would fit together well, and would not need any "external" release steps any longer.

[^1]: Similar to the debian directory there.