Update .woodpecker.yml
This commit is contained in:
@@ -1,17 +1,13 @@
|
|||||||
kind: pipeline
|
when:
|
||||||
type: docker
|
event:
|
||||||
name: build-and-push
|
- push
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
build:
|
||||||
image: docker:27
|
image: docker:26
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
commands:
|
commands:
|
||||||
- echo "Mast3rk4y88!" | docker login "192.168.100.202:5005" -u "ci" --password-stdin
|
- docker login 192.168.100.202:5005 -u $REGISTRY_USER -p $REGISTRY_PASS
|
||||||
- docker build -t 192.168.100.202:5005/nextcloud-custom:latest .
|
- docker build -t 192.168.100.202:5005/nextcloud-logmar:latest .
|
||||||
- docker push 192.168.100.202:5005/nextcloud-custom:latest
|
- docker push 192.168.100.202:5005/nextcloud-logmar:latest
|
||||||
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
- main
|
|
||||||
Reference in New Issue
Block a user