mediagoblin-docker/.drone.yml
Dan Helfman 99b5669620
All checks were successful
continuous-integration/drone/push Build is passing
Drop use of Docker plugin.
2023-08-20 14:59:53 -07:00

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