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
|
|
|
|
tag: latest
|
|
|
|
when:
|
|
|
|
branch: public
|
2023-05-04 22:10:09 +00:00
|
|
|
event: push
|
|
|
|
|
|
|
|
deploy:
|
2023-05-05 15:11:21 +00:00
|
|
|
image: elara6331/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
|
2023-05-04 22:11:44 +00:00
|
|
|
- PLUGIN_WATCH_DEPLOYMENT_TIMEOUT=10m
|
|
|
|
when:
|
|
|
|
branch: public
|
|
|
|
event: push
|