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