Update .woodpecker.yml

This commit is contained in:
2026-01-20 15:56:55 +01:00
parent 436df96480
commit fe823b1950

View File

@@ -1,17 +1,13 @@
kind: pipeline
type: docker
name: build-and-push
when:
event:
- push
steps:
- name: build
image: docker:27
build:
image: docker:26
volumes:
- /var/run/docker.sock:/var/run/docker.sock
commands:
- echo "Mast3rk4y88!" | docker login "192.168.100.202:5005" -u "ci" --password-stdin
- docker build -t 192.168.100.202:5005/nextcloud-custom:latest .
- docker push 192.168.100.202:5005/nextcloud-custom:latest
trigger:
branch:
- main
- docker login 192.168.100.202:5005 -u $REGISTRY_USER -p $REGISTRY_PASS
- docker build -t 192.168.100.202:5005/nextcloud-logmar:latest .
- docker push 192.168.100.202:5005/nextcloud-logmar:latest