lure-web/.woodpecker.yml

27 lines
665 B
YAML

pipeline:
publish:
image: woodpeckerci/plugin-docker-buildx
secrets: [docker_username, docker_password]
settings:
repo: elara6331/lure-web
dockerfile: docker/Dockerfile
platforms: linux/amd64,linux/arm64
build_args: api_url=https://api.lure.elara.ws
tag: latest
when:
branch: public
event: push
deploy:
image: loq9/drone-nomad
secrets: [lure_api_github_secret]
settings:
addr: http://192.168.100.62:4646
template: template.nomad
environment:
- PLUGIN_WATCH_DEPLOYMENT=true
- PLUGIN_WATCH_DEPLOYMENT_TIMEOUT=10m
when:
branch: public
event: push