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
|
2023-05-09 15:58:36 +00:00
|
|
|
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:
|
2023-05-16 19:43:11 +00:00
|
|
|
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
|
2023-05-04 22:11:44 +00:00
|
|
|
- PLUGIN_WATCH_DEPLOYMENT_TIMEOUT=10m
|
|
|
|
when:
|
|
|
|
branch: public
|
2023-05-09 15:58:36 +00:00
|
|
|
event: push
|