add woodpecker pipeline

This commit is contained in:
2026-01-20 12:39:15 +01:00
commit 4fca29a27a

17
.woodpecker.yml Normal file
View File

@@ -0,0 +1,17 @@
kind: pipeline
type: docker
name: build-and-push
steps:
- name: build
image: docker:27
volumes:
- /var/run/docker.sock:/var/run/docker.sock
commands:
- echo "$REGISTRY_PASS" | docker login $REGISTRY_HOST -u "$REGISTRY_USER" --password-stdin
- docker build -t $REGISTRY_HOST/nextcloud-custom:latest .
- docker push $REGISTRY_HOST/nextcloud-custom:latest
trigger:
branch:
- main