Skip to content

Fix filename from downloaded tar.gz - #100

Merged
tfr42 merged 1 commit into
mainfrom
fix/filenameFromDownload
Mar 23, 2026
Merged

Fix filename from downloaded tar.gz#100
tfr42 merged 1 commit into
mainfrom
fix/filenameFromDownload

Conversation

@lgoltz

@lgoltz lgoltz commented Mar 23, 2026

Copy link
Copy Markdown
Contributor

Suffix _accdb was removed from download examples: https://www.lbeg.niedersachsen.de/download/49897

Fixes action https://github.com/lat-lon/sep3-tools/actions/runs/23433259410/job/68164786326

#17 [12/15] RUN mdb-schema -T Schluesseltypen /tmp/Woerterbuch_Austausch_Internet_accdb.accdb postgres > /tmp/Schluesseltypen_create-table.sql
#17 0.127 File not found
#17 0.127 Could not open file
#17 ERROR: process "/bin/sh -c mdb-schema -T Schluesseltypen $WBFILENAME postgres > /tmp/Schluesseltypen_create-table.sql" did not complete successfully: exit code: 1
------
 > [12/15] RUN mdb-schema -T Schluesseltypen /tmp/Woerterbuch_Austausch_Internet_accdb.accdb postgres > /tmp/Schluesseltypen_create-table.sql:
0.127 File not found
0.127 Could not open file
------
Dockerfile:35
--------------------
  33 |     RUN sed -i "s|'db-1.properties'|'/tmp/db.properties'|g" /tmp/00_dbinfo.sql
  34 |     
  35 | >>> RUN mdb-schema -T Schluesseltypen $WBFILENAME postgres > /tmp/Schluesseltypen_create-table.sql
  36 |     RUN mdb-export $WBFILENAME Schluesseltypen > /tmp/Schluesseltypen.csv
  37 |     RUN mdb-schema -T Woerterbuch $WBFILENAME postgres > /tmp/Woerterbuch_create-table.sql
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c mdb-schema -T Schluesseltypen $WBFILENAME postgres > /tmp/Schluesseltypen_create-table.sql" did not complete successfully: exit code: 1
Reference
Check build summary support
Error: buildx failed with: ERROR: failed to build: failed to solve: process "/bin/sh -c mdb-schema -T Schluesseltypen $WBFILENAME postgres > /tmp/Schluesseltypen_create-table.sql" did not complete successfully: exit code: 1

@lgoltz
lgoltz requested a review from tfr42 March 23, 2026 14:27
@tfr42
tfr42 merged commit 98889d0 into main Mar 23, 2026
3 checks passed
@tfr42
tfr42 deleted the fix/filenameFromDownload branch March 23, 2026 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants