lure-web/.woodpecker.yml
Elara Musayelyan 58cf7a72bb
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Move api url setting to docker build arg
2023-05-09 08:58:36 -07:00

27 lines
670 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: elara6331/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