"Build and release" GitHub workflow fails, likely due to a wrong path to a "Dockerfile" #240

Closed
opened 2026-10-01 08:05:40 +00:00 by andkaha · 0 comments
andkaha commented 2026-10-01 08:05:40 +00:00 (Migrated from github.com)

Describe the bug

The build_and_release.yml fails due to resolving path to Dockerfile differently from what's done in a docker-compose.yml file.

Steps to reproduce

See GitHub Action result here: https://github.com/NBISweden/sda-download-ui/actions/runs/36832168673

Additional context

The Build and push step contains a file section with the value ../Dockerfile. Since this is resolved using the location of the code checkout, not the ./frontend context, the file can't be found. It is likely that the path for file should be just Dockerfile (although I can't confirm that it would work to make just this change).

## Describe the bug The `build_and_release.yml` fails due to resolving path to `Dockerfile` differently from what's done in a `docker-compose.yml` file. ## Steps to reproduce See GitHub Action result here: https://github.com/NBISweden/sda-download-ui/actions/runs/36832168673 ## Additional context The `Build and push` step contains a `file` section with the value `../Dockerfile`. Since this is resolved using the location of the code checkout, not the `./frontend` context, the file can't be found. It is likely that the path for `file` should be just `Dockerfile` (although I can't confirm that it would work to make just this change).
Sign in to join this conversation.
No description provided.