25 Commits

Author SHA1 Message Date
Max Goltzsche
87ca4f4632 chore(workflow): pin worker image to ubuntu 22.04
This is in order to prevent the e2e tests from failing with `reexec: Permission denied` errors when running on an Ubuntu 24.04 worker
2025-02-07 03:21:13 +01:00
Denis Baryshev
9fe466c83b chore: support single arch tar build (#113)
* chore: add single arch support

Signed-off-by: Denis Baryshev <dennybaa@gmail.com>

* chore: fix singlearch build

Signed-off-by: Denis Baryshev <dennybaa@gmail.com>

---------

Signed-off-by: Denis Baryshev <dennybaa@gmail.com>
2025-02-02 18:26:35 +01:00
Max Goltzsche
75f5141513 fix: upgrade podman 5.1.1, drop CNI support
* podman 5.1.1
* drop CNI networking and slirp4netns in favour of netavark + pasta
* build statically linked netavark, pasta and aardvark
* conmon 2.1.11
* crun 1.15
* crun is also shipped with the normal (non-minimal) image now.
* build using golang 1.22, use alpine 3.19 base container

Co-authored-by: Trent Apple <trentapple@users.noreply.github.com>
2024-06-16 23:24:14 +02:00
Max Goltzsche
87dc410e7c chore: secure credential usage in release pipeline
... by avoiding to expose ghcr and dockerhub tokens within the process list.
This may not matter in practice but better be safe than sorry.
2023-04-24 02:34:00 +02:00
Max Goltzsche
b4b58f5842 update to podman v4.0.2.
updated dependencies:
* runc v1.1.0
* crun 1.4.4
* conmon v2.1.0
* CNI plugins v1.1.1
* fuse-overlayfs v1.8.2

also adds new rootlessport binary.

Signed-off-by: Max Goltzsche <max.goltzsche@gmail.com>
2022-03-26 01:55:38 +01:00
Max Goltzsche
1b5ee026d2 update to podman 3.4.1, crun 1.2 2021-10-21 23:56:33 +02:00
Max Goltzsche
d6ec937077 align ghcr image name, update readme 2021-09-28 02:45:52 +02:00
Max Goltzsche
b84684bb93 update to podman v3.4.0-rc2 2021-09-28 02:16:44 +02:00
Max Goltzsche
2cb260e09f fix(release): migrate gh registry.
Push to ghcr.io instead of docker.pkg.github.com.
2021-09-27 23:54:58 +02:00
Max Goltzsche
845d54e92a fix(release): Push images to gh and dh separately.
Apparently docker/buildx cannot push an image to multiple repos at once.
2021-09-25 22:53:23 +02:00
Max Goltzsche
f34a5cccc9 another release fix attempt.
* initialize and check buildx builder first.
* disable push to GitHub container registry for now.
2021-09-25 21:47:43 +02:00
Max Goltzsche
2cd5e18e0d fix docker auth using newer buildkit version.
See https://github.com/docker/buildx/issues/327
2021-09-25 05:09:10 +02:00
Max Goltzsche
13afc3095b fix docker authentication 2021-09-25 03:22:38 +02:00
Max Goltzsche
b6603ab359 fix release workflow.
* use gh action to setup qemu.
* make gpg the first stage of the Dockerfile. This is to avoid having to rebuild any other stage.
* use `docker buildx build` also to build the local gpg image in order to share the cache.
2021-09-25 00:57:37 +02:00
Max Goltzsche
1a9e3b6c74 add support for linux/arm64/v8 2021-09-24 23:48:38 +02:00
Max Goltzsche
4442e1a363 Fix tar release workflow 2021-08-21 04:14:31 +02:00
Max Goltzsche
4241925f7e Migrate tests to bats.
Turns the scripted tests into bats tests.

Signed-off-by: Max Goltzsche <max.goltzsche@gmail.com>
2021-08-21 02:51:07 +02:00
Max Goltzsche
836eaa735a fix pr workflow 2021-06-04 23:30:20 +02:00
Max Goltzsche
76cb4c494f Support minimal tag, change uid/gid, remove stuff
Changes:
* Builds a `minimal` image (without slirp4netns) instead of `rootless`.
* `podman` uid/gid changed from 100000 to 1000/1000 (to avoid exceeding the sub*id range).
* Default USER is root now.
* No ENTRYPOINT script provided that changes the user when container is run as root.
* The HOME env var is not specified anymore in order to use the home dir specified for the user in /etc/passwd.
* Default WORKDIR has changed from /podman to / since /podman is only relevant when running as `podman` user.
2020-12-25 22:57:19 +01:00
Max Goltzsche
ef462f731a Fix release workflow again 2020-12-24 03:39:37 +01:00
Max Goltzsche
931902e2f3 Fix release workflow again 2020-12-24 03:32:54 +01:00
Max Goltzsche
2307694edc Fix release workflow 2020-12-24 03:22:32 +01:00
Max Goltzsche
8a3b93c110 Update readme, release archive on tag only 2020-12-24 03:10:47 +01:00
Max Goltzsche
4db3d317eb Fix gh workflow, remove tty requirement from tests 2020-12-24 02:01:45 +01:00
Max Goltzsche
f5acdcdbfd Add GitHub workflows for PRs and releases 2020-12-24 01:50:59 +01:00