Skip to content

Commit

Permalink
import in cached image
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddewie committed Mar 30, 2024
1 parent eee7a35 commit f445b0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ jobs:
OSM2PGSQL_CACHE: 14000
# OSM2PGSQL_DATAFILE: europe.osm.pbf
run: |
docker compose run --build import
docker compose up --pull always --build import
docker compose push import
- name: Commit and push new database image
run: |
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ services:
- PGDATA=/var/lib/postgresql/postgres-data

import:
image: ghcr.io/hiddewie/openrailwaymap-import:latest
build:
context: .
dockerfile: import.Dockerfile
Expand Down

0 comments on commit f445b0d

Please sign in to comment.