Skip to content

Commit

Permalink
Merge branch 'main' into refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
tits4net authored Mar 8, 2024
2 parents 95fc6fe + 313feb0 commit f46f178
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/build-maps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,27 @@ name: Build map
on:
workflow_dispatch:
inputs:
map_list:
description: 'List of map to build (comma separated, according geofabrik path)'
required: True
type: string
maps_list:
description: 'List of map to generate (comma separated, geofabrik path format)'
default: 'antarctica;europe/andorra;europe/france/guyane'
required: true
type: string

jobs:
motomap-container-job:
runs-on: ubuntu-latest
container:
image: tmesot/motomap:refactor
credentials:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
env:
MAP_LIST: ${{ github.event.inputs.map_list }}}}
volumes:
- /output_volume:/motomap/output
MAPS_LIST: ${{ github.event.inputs.maps_list }}
steps:
- name: Run script
run: /motomap/motomap.sh
run: bash /motomap/motomap/motomap.sh
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: maps files
path: /output_volume
name: Generate map artefact
path: /motomap/output
1 change: 0 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Docker build and push

on:
workflow_dispatch:

jobs:
push_to_registry:
name: Push Docker image to Docker Hub
Expand Down

0 comments on commit f46f178

Please sign in to comment.