From 269fac074b1f9b6558f25dc3a33dc446e6bb653a Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Wed, 19 Apr 2023 23:14:51 -0700 Subject: [PATCH] Attempt to use Podman-in-Podman for building docs instead of Docker-in-Podman. --- .drone.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index 406d7e0..5a8bb56 100644 --- a/.drone.yml +++ b/.drone.yml @@ -38,16 +38,17 @@ clone: steps: - name: build - image: plugins/docker - settings: - username: + image: quay.io/stable/podman + environment: + USERNAME: from_secret: docker_username - password: + PASSWORD: from_secret: docker_password - registry: projects.torsion.org - repo: projects.torsion.org/borgmatic-collective/borgmatic - tags: docs - dockerfile: docs/Dockerfile + IMAGE_NAME: projects.torsion.org/borgmatic-collective/borgmatic:docs + commands: + - podman login --username "$USERNAME" --password "$PASSWORD" projects.torsion.org + - podman build --tag "$IMAGE_NAME" --file docs/Dockerfile + - podman push "$IMAGE_NAME" trigger: repo: