Open Infrastructure Map, a view of infrastructure data in OpenStreetMap
Build imposm3 dockerfile with mapping.json
Russ Garrettc4012e825fc5
diff --git a/.github/workflows/imposm.yml b/.github/workflows/imposm.ymlnew file mode 100644index 0000000..c631d5b--- /dev/null+++ b/.github/workflows/imposm.yml@@ -0,0 +1,38 @@+name: Build imposm3 container++on:+ push:+ branches:+ - main+ paths:+ - 'mapping/**'+ - '.github/workflows/imposm.yml'++jobs:+ login:+ env:+ IMAGE: ghcr.io/openinframap/openinframap-imposm+ runs-on: ubuntu-latest+ steps:+ - name: Checkout+ uses: actions/checkout@v3+ - name: Login to GitHub Container Registry+ uses: docker/login-action@v2+ with:+ registry: ghcr.io+ username: ${{ github.actor }}+ password: ${{ secrets.GITHUB_TOKEN }}+ - name: Extract metadata (tags, labels) for Docker+ id: meta+ uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7+ with:+ images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}+ - name: Build and push+ id: docker_build+ uses: docker/build-push-action@v4+ with:+ context: ./mapping+ file: ./mapping/Dockerfile+ push: true+ tags: ${{ steps.meta.outputs.tags }}+ labels: ${{ steps.meta.outputs.labels }}