drone: add step for importing
Some checks failed
continuous-integration/drone/tag Build is failing

This commit is contained in:
nobohan 2023-07-03 15:53:12 +02:00
parent 0a9fb88da2
commit 7d636bc777
2 changed files with 18 additions and 1 deletions

View File

@ -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

View File

@ -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