40 lines
804 B
YAML
40 lines
804 B
YAML
---
|
|
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/
|
|
|
|
- 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 |