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
1 changed files with 9 additions and 8 deletions

View File

@ -38,16 +38,17 @@ clone:
steps: steps:
- name: build - name: build
image: plugins/docker image: quay.io/stable/podman
settings: environment:
username: USERNAME:
from_secret: docker_username from_secret: docker_username
password: PASSWORD:
from_secret: docker_password from_secret: docker_password
registry: projects.torsion.org IMAGE_NAME: projects.torsion.org/borgmatic-collective/borgmatic:docs
repo: projects.torsion.org/borgmatic-collective/borgmatic commands:
tags: docs - podman login --username "$USERNAME" --password "$PASSWORD" projects.torsion.org
dockerfile: docs/Dockerfile - podman build --tag "$IMAGE_NAME" --file docs/Dockerfile
- podman push "$IMAGE_NAME"
trigger: trigger:
repo: repo: