.gitignore + remove unnecessary files for debian build #491
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build on Debian Bookworm | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build Docker images | |
uses: docker/build-push-action@v6 | |
with: | |
file: docker/debian/Dockerfile_bookworm | |
load: true | |
cache-from: type=gha,scope=cgimap:bookworm | |
cache-to: type=gha,mode=max,scope=cgimap:bookworm | |
tags: cgimap:bookworm | |
- name: Running Docker image | |
run: | | |
docker run --name cgimap --entrypoint /bin/bash cgimap:bookworm -c "/usr/bin/openstreetmap-cgimap --help" | |
docker cp cgimap:/app_deb ${{ github.workspace }} | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: openstreetmap_cgimap_debian_12.zip | |
path: ${{ github.workspace }}/app_deb/*.deb | |
if-no-files-found: error |