This commit is contained in:
Dan Helfman 2023-04-20 11:53:52 -07:00
parent 1721c05d2e
commit 4302a07c9b

View file

@ -46,8 +46,8 @@ steps:
from_secret: docker_password from_secret: docker_password
IMAGE_NAME: projects.torsion.org/borgmatic-collective/borgmatic:docs IMAGE_NAME: projects.torsion.org/borgmatic-collective/borgmatic:docs
commands: commands:
- echo "podman:100000:65536" > /etc/subuid - echo "podman:100000:100000" > /etc/subuid
- echo "podman:100000:65536" > /etc/subgid - echo "podman:100000:100000" > /etc/subgid
- podman login --username "$USERNAME" --password "$PASSWORD" projects.torsion.org - podman login --username "$USERNAME" --password "$PASSWORD" projects.torsion.org
- podman build --isolation chroot --userns-uid-map-user podman --userns-gid-map-group podman --tag "$IMAGE_NAME" --file docs/Dockerfile - podman build --isolation chroot --userns-uid-map-user podman --userns-gid-map-group podman --tag "$IMAGE_NAME" --file docs/Dockerfile
- podman push "$IMAGE_NAME" - podman push "$IMAGE_NAME"