lure-web-old/.woodpecker.yml

28 lines
684 B
YAML
Raw Normal View History

2023-08-10 04:12:29 +00:00
platform: linux/amd64
steps:
2023-05-04 21:59:56 +00:00
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