Attempt to use Podman-in-Podman for building docs instead of Docker-in-Podman.

This commit is contained in:
Dan Helfman 2023-04-19 23:14:51 -07:00
parent 3b21ce4ce8
commit 269fac074b

View file

@ -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: