Be explicit about using Podman in CI build.
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Dan Helfman 2023-08-20 14:52:21 -07:00
parent 36df7e0909
commit b2fc1ff62d
1 changed files with 7 additions and 4 deletions

View File

@ -8,12 +8,15 @@ steps:
- name: build
image: plugins/docker
settings:
username:
USERNAME:
from_secret: docker_username
password:
PASSWORD:
from_secret: docker_password
registry: projects.torsion.org
repo: projects.torsion.org/witten/mediagoblin-docker
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: