backup-server/.woodpecker.yml

18 lines
311 B
YAML
Raw Normal View History

2023-03-04 06:07:00 +00:00
clone:
git:
image: plugins/git
depth: 1
pipeline:
build:
2023-03-04 06:53:07 +00:00
image: docker
2023-03-04 06:07:00 +00:00
volumes:
- /var/run/docker.sock:/var/run/docker.sock
2023-03-04 06:57:00 +00:00
commands:
- echo $PUSH_TOKEN
environment:
- PUSH_TOKEN=$${PUSH_TOKEN}
2023-03-04 06:53:07 +00:00
secrets:
2023-03-04 06:55:37 +00:00
- PUSH_TOKEN
2023-03-04 06:07:00 +00:00
commands:
2023-03-04 06:09:25 +00:00
- /bin/sh build.sh