conductor/.woodpecker.yml

36 lines
956 B
YAML
Raw Normal View History

2022-10-05 16:09:00 +05:30
pipeline:
backend:
image: rust
# environment:
# - DATABASE_URL=postgres://postgres:password@database:5432/postgres
commands:
# - make migrate
- make
- make test
2022-12-12 21:00:18 +05:30
- make release
publish_bins:
image: rust
commands:
- apt update
2022-12-12 21:08:38 +05:30
- apt-get -y --no-install-recommends install gpg tar curl wget
2022-12-12 21:00:18 +05:30
- echo -n "$RELEASE_BOT_GPG_SIGNING_KEY" | gpg --batch --import --pinentry-mode loopback
- ./scripts/bin-publish.sh publish master latest $DUMBSERVE_PASSWORD
secrets: [ RELEASE_BOT_GPG_SIGNING_KEY, DUMBSERVE_PASSWORD, GPG_PASSWORD ]
2022-10-05 16:09:00 +05:30
publish:
image: plugins/docker
settings:
username: realaravinth
password:
from_secret: DOCKER_TOKEN
2022-11-16 16:14:07 +05:30
repo: realaravinth/librepages-conductor
2022-10-05 16:09:00 +05:30
tags: latest
#services:
# database:
# image: postgres
# environment:
# - POSTGRES_PASSWORD=password