openstreetmap-tile-server/.drone.yml

40 lines
804 B
YAML
Raw Permalink Normal View History

2023-07-03 13:12:50 +00:00
---
kind: pipeline
type: docker
name: default
trigger:
event:
- tag
clone:
disable: true
steps:
- name: clone
image: plugins/git
settings:
recursive: true
- name: download_pbf
image: plugins/download
settings:
source: https://download.geofabrik.de/europe/luxembourg-latest.osm.pbf
#destination: /drone/src/
2023-07-03 13:53:12 +00:00
- name: import_pbf
image: plugins/docker
settings:
context: .
dockerfile: Dockerfile
pull_image: true
username:
from_secret: docker_username
password:
from_secret: docker_password
registry: h3m6q87t.gra7.container-registry.ovh.net
repo: h3m6q87t.gra7.container-registry.ovh.net/osm_tile_server/map
tag:
- ${DRONE_TAG:=latest}
commands:
- sh run.sh import