add CI pipeline configuration

This commit is contained in:
martin.fencl
2026-10-08 20:42:24 +02:00
parent a2931263f3
commit 7a3156a5e4
+31
View File
@@ -0,0 +1,31 @@
kind: pipeline
type: docker
name: default
trigger:
branch:
- deployment
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"