Skip to content

Fix Docker image build command#31

Merged
risu729 merged 1 commit intomainfrom
fix/docker-build-command
Apr 4, 2026
Merged

Fix Docker image build command#31
risu729 merged 1 commit intomainfrom
fix/docker-build-command

Conversation

@risu729
Copy link
Copy Markdown
Member

@risu729 risu729 commented Apr 4, 2026

Summary

  • fix the Dockerfile to invoke the scraper with valid Cargo CLI syntax
  • pass the required --year latest-with-data argument to scrape_n_batch_insert
  • keep the image build aligned with the current CLI contract so the build can reach the GHCR push step

Verification

  • cargo run -- scrape_n_batch_insert --help

Context

The failing Actions job was exiting during docker build on RUN cargo r -- scrape_n_batch_insert -release. That command passed -release to the application instead of Cargo and omitted the required --year argument, so the image build failed before any GHCR push could happen.

@risu729 risu729 merged commit 3e9cb6b into main Apr 4, 2026
2 checks passed
@risu729 risu729 deleted the fix/docker-build-command branch April 4, 2026 19:44
risu729 added a commit that referenced this pull request Apr 4, 2026
risu729 added a commit that referenced this pull request Apr 4, 2026
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.

1 participant