Skip to content

Container: Switch from DIND build method to podman (fixes: #112)

micah requested to merge micah/onionmasq:buildah into main

This eliminates the special docker in docker (DIND) service that requires privileged runners to execute. We do not have privileged runners in the tor project, so this image has been built externally and provided via an external image registry.

This commit removes DIND, and replaces it with using the podman base-image that is built at tor. It then uses that to leverage the buildah support inside of podman to build and push the container to the registry.

I also cleaned up a few items along the way:

  • Removed unnecessary and duplicate package installation steps
  • Replaced wget with curl to have more consistency
  • Removed the duplicate pipelines that were being created
  • Renamed from docker to container
  • Made containers be built on pushed tags (container tagged with the git tag), or commits into main (tagged with latest)
  • Adjusted the go download URL to not be a redirect

Merge request reports

Loading