lure-web-old/.woodpecker.yml

27 lines
665 B
YAML
Raw Normal View History

2023-05-04 21:59:56 +00:00
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
2023-05-04 21:59:56 +00:00
tag: latest
when:
branch: public
2023-05-04 22:10:09 +00:00
event: push
deploy:
image: loq9/drone-nomad
2023-05-04 22:14:01 +00:00
secrets: [lure_api_github_secret]
2023-05-04 22:10:09 +00:00
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