diff --git a/.drone.yml b/.drone.yml index bdc318d..f36c017 100644 --- a/.drone.yml +++ b/.drone.yml @@ -21,3 +21,20 @@ steps: 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 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 0c0cd0d..d37d2af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -169,6 +169,6 @@ COPY --from=compiler-stylesheet /root/openstreetmap-carto /home/renderer/src/ope # Start running COPY run.sh / -ENTRYPOINT ["/run.sh"] +#ENTRYPOINT ["/run.sh"] CMD [] EXPOSE 80 5432