2023-10-07 19:02:43 +00:00
|
|
|
platform: linux/amd64
|
2023-06-09 18:53:20 +00:00
|
|
|
pipeline:
|
|
|
|
release:
|
|
|
|
image: goreleaser/goreleaser
|
|
|
|
commands:
|
|
|
|
- goreleaser release
|
|
|
|
secrets: [ gitea_token, aws_access_key_id, aws_secret_access_key ]
|
|
|
|
when:
|
2023-06-09 19:10:29 +00:00
|
|
|
event: tag
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
image: loq9/drone-nomad
|
|
|
|
secrets: [ github_password, password_hash ]
|
|
|
|
settings:
|
|
|
|
addr: http://192.168.100.62:4646
|
|
|
|
template: template.nomad
|
|
|
|
environment:
|
|
|
|
- PLUGIN_WATCH_DEPLOYMENT=true
|
|
|
|
- PLUGIN_WATCH_DEPLOYMENT_TIMEOUT=10m
|
|
|
|
when:
|
2023-06-09 19:37:36 +00:00
|
|
|
event: tag
|