← スキル一覧に戻る

image-creator
by spigell
My container images for personal purposes
⭐ 0🍴 0📅 2026年1月22日
SKILL.md
name: image-creator description: Create new container images in the my-images repo and wire them into the shared publish/dispatch workflows and reusable remote workflows.
Image Creator
Use this skill when adding a brand-new image directory or wiring a new publish workflow. It focuses on build flows, remote reusable workflows, and dispatch wiring.
Build/publish model (context)
- Universal workbench (
universal-workbench-docker/) is the base; downstream images layer on top. - Event-driven via
repository_dispatch:universal-workbench-publish→universal-workbench-updated.- Downstreams (e.g.,
google-gemini-publish,openai-codex-publish) listen, rebuild, then emit their own updates (e.g.,gemini-workbench-updated,openai-codex-workbench-updated). - Runner workflows (e.g.,
github-runner-publish-gemini,github-runner-publish-codex) listen for those downstream update events.
- Keep downstream dispatch jobs named
trigger-downstreams. - Always include the
shared/build context when building locally or in CI so helper scripts are available.
Remote reusable workflow (shared)
- Most builds call
spigell/my-shared-workflows/.github/workflows/docker-build-release.yaml@main. - Required
secrets:gh-token: ${{ secrets.IMAGES_PUBLISH_TOKEN }}(push to GHCR). - Key inputs:
image-name: registry/image name suffix (e.g.,codex-binary).context: path to the image directory.version: tag to push (oftenvX.Y.Zor the upstream version).build-args: newline list ofKEY=VALUE.
- Outputs:
version,sha-tag,digest(commonly reused by dependent builds and dispatch payloads).
Creating a new image
- Scaffold directory: Create
<image-name>-docker/(or similar). Add aDockerfile, supporting files, andREADME.md. Base off an existing sibling if similar. Ensure theDockerfilecopies from../shared(includeshared/context in builds). - Update root README: Add the image to the table with base and description.
- Add publish workflow in
.github/workflows/<image>-publish.yaml:- Triggers:
repository_dispatch(listen to upstream event, e.g.,universal-workbench-updated),pushon the image path + workflow file, andworkflow_dispatchinputs for manual tags. - If it depends on universal, add a
resolve-universal-tagjob using.github/actions/resolve-ghcr-tag(payload > manual input > latest GHCR). - Add a build job that
uses: spigell/my-shared-workflows/.github/workflows/docker-build-release.yaml@mainwithimage-name,context,version, andbuild-args(include upstream tags/digests as needed). - If another image depends on this one, add
trigger-downstreamsusingpeter-evans/repository-dispatch@v3to emit an update event (keep the job nametrigger-downstreams).
- Triggers:
- Secrets: The workflow expects
IMAGES_PUBLISH_TOKENfor GHCR pushes and dispatch. - Dispatch wiring: Choose an event name that downstream workflows will watch (pattern:
<image>-updated). If this image depends on another, add arepository_dispatchtrigger to listen to that upstream event. - Versioning: Prefer dynamic tag resolution and avoid static manifest JSON. When bumping tools in the new image, also update the workflow
version/build args to match.
Git remote and approvals
- Keep PR summaries noting new workflows, dispatch events, and any version bump rationale.
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です