-
Notifications
You must be signed in to change notification settings - Fork 38
33 lines (27 loc) · 985 Bytes
/
docker_bookworm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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