Add GitHub Actions workflow for Docker image build test - #13
Merged
Conversation
Adds a workflow that builds the Docker image to verify the Dockerfile is valid. The workflow: - Triggers on pull requests targeting main and manual dispatch - Requires maintainer approval via the build-test environment - Builds the image without pushing to validate correctness Co-authored-by: Maximilian Schellhorn <36627945+maschnetwork@users.noreply.github.com>
Closed
Owner
|
/kiro fix seems like the docker build failed but action shows successful - please verify |
- Add --no-cache to ensure fresh builds without cached layers - Add --progress=plain to show full build output in GitHub Actions logs - Add verification step to confirm the Docker image was actually created
Contributor
Author
|
Here are the PRs I created: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request was generated by @kiro-agent 👻
Comment with /kiro fix to address specific feedback or /kiro all to address everything.
Learn about Kiro autonomous agent
Summary
Adds a GitHub Actions workflow that verifies the Docker image can be built successfully, addressing the lack of any CI validation for the Dockerfile.
Changes
.github/workflows/docker-build-test.ymlwith a workflow that:mainand on manualworkflow_dispatchbuild-testenvironment to gate execution behind maintainer approvaldocker build(build only, no push)ubuntu-latestSetup required after merge
To enable the maintainer approval gate, you need to create the
build-testenvironment in the repository settings:build-testWithout this environment configuration, the workflow will run without requiring approval.