Files
martin.fencl a38d90136f
continuous-integration/drone/push Build is passing
test 5
2026-10-08 21:53:53 +02:00

32 lines
640 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 "$PORTAINER_WEBHOOK"