Trying a different approach: Ditching Podman-in-Podman.
This commit is contained in:
parent
499e42df35
commit
7f7b89d79c
1 changed files with 6 additions and 4 deletions
10
.drone.yml
10
.drone.yml
|
@ -32,13 +32,17 @@ steps:
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: documentation
|
name: documentation
|
||||||
|
type: exec
|
||||||
|
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: amd64
|
||||||
|
|
||||||
clone:
|
clone:
|
||||||
skip_verify: true
|
skip_verify: true
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: quay.io/podman/stable
|
|
||||||
environment:
|
environment:
|
||||||
USERNAME:
|
USERNAME:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
|
@ -46,10 +50,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:100000" > /etc/subuid
|
|
||||||
- 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 --security-opt label=disable --isolation chroot --userns-uid-map-user podman --userns-gid-map-group podman --tag "$IMAGE_NAME" --file docs/Dockerfile
|
- podman build --tag "$IMAGE_NAME" --file docs/Dockerfile
|
||||||
- podman push "$IMAGE_NAME"
|
- podman push "$IMAGE_NAME"
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
|
|
Loading…
Reference in a new issue