Conversation
The new "test" input is a shell command that tests the image before the push. When it is set, the workflow builds the image for linux/amd64, loads it into Docker and runs the command with IMAGE=image:tag. The multi-arch build that follows uses the same builder cache. Callers without "test" are not changed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VSKw7jY45nUJWQxWpvjm82
f3l1x
added a commit
to dockette/ci
that referenced
this pull request
Sep 30, 2026
The "test" input of the shared dockette/.github workflow is not planned (dockette/.github#5 is closed). Run the tests in this repo: the Test job builds each image for linux/amd64, loads it and runs .scripts/test.sh. The Build job uses the shared workflow from @master again and pushes only after all tests pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VSKw7jY45nUJWQxWpvjm82
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.
Summary
This PR adds an optional
testinput to the shared Docker workflow. The caller gives a shell command that tests the image before the push.When
testis set, the workflow does these steps:linux/amd64withload: true, so that the image is in the local Docker.IMAGE=<image>:<tag>.If the test fails, the image is not pushed. Callers that do not set
testsee no change.Example
The first caller is dockette/ci, in a PR that is stacked on dockette/ci#18.
Checks
actionlintpasses.馃 Generated with Claude Code
https://claude.ai/code/session_01VSKw7jY45nUJWQxWpvjm82
Generated by Claude Code