Files
martinfencl.eu/.drone.yml
T
martin.fencl a5bcf00aab
continuous-integration/drone/push Build was killed
test 4
2026-10-08 21:08:28 +02:00

32 lines
704 B
YAML

kind: pipeline
type: docker
name: default
trigger:
branch:
- main
event:
- push
steps:
- name: build-and-push-to-gitea-registry
image: plugins/docker:20.16
settings:
registry: git.internet-master.cz
repo: git.internet-master.cz/fencl/martinfencl.eu
context: .
dockerfile: Dockerfile
tags:
- latest
username: fencl
password:
from_secret: REGISTRY_PASSWORD
- name: call-portainer-webhook
image: curlimages/curl
environment:
PORTAINER_WEBHOOK:
from_secret: PORTAINER_WEBHOOK
commands:
- curl -fsS -X POST "http://192.168.52.21:9000/api/stacks/webhooks/ab5de691-5d11-46e1-ba44-65104da2db98"