Dan Helfman
99b5669620
All checks were successful
continuous-integration/drone/push Build is passing
32 lines
625 B
YAML
32 lines
625 B
YAML
kind: pipeline
|
|
name: build
|
|
type: exec
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
clone:
|
|
skip_verify: true
|
|
|
|
steps:
|
|
- name: build
|
|
environment:
|
|
USERNAME:
|
|
from_secret: docker_username
|
|
PASSWORD:
|
|
from_secret: docker_password
|
|
IMAGE_NAME: projects.torsion.org/witten/mediagoblin-docker
|
|
commands:
|
|
- podman login --username "$USERNAME" --password "$PASSWORD" projects.torsion.org
|
|
- podman build --tag "$IMAGE_NAME" --storage-opt "overlay.mount_program=/usr/bin/fuse-overlayfs" .
|
|
- podman push "$IMAGE_NAME"
|
|
|
|
trigger:
|
|
repo:
|
|
- witten/mediagoblin-docker
|
|
branch:
|
|
- main
|
|
event:
|
|
- push
|