test avec woodpecker

This commit is contained in:
François Pelletier 2024-02-03 19:43:32 -05:00
parent 6a947b8792
commit 9f66182e27

10
.woodpecker.yaml Normal file
View file

@ -0,0 +1,10 @@
steps:
- name: Build image
image: docker:20-dind
commands:
- docker build --rm -t local/point-median-backend .
- docker run --network=host caprover/cli-caprover:2.2.3 caprover deploy --caproverUrl "$CAPROVER_URL" --caproverPassword "$CAPROVER_PASSWORD" -a "$CAPROVER_APP" -i local/point-median-backend
volumes:
- /var/run/docker.sock:/var/run/docker.sock
secrets: [ caprover_url, caprover_app, caprover_password ]