Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/buildah.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ jobs:
INPUT_IMAGE: ${{ inputs.image }}
run: |
if [ -n "$INPUT_IMAGE" ]; then
if ! make list-images-json | jq -e --arg img "$INPUT_IMAGE" 'index($img) != null' > /dev/null; then
echo "::error::$INPUT_IMAGE is not a buildable image directory (unknown or retired); refusing to select it for build."
exit 1
fi
echo "images=[\"$INPUT_IMAGE\"]" >> "$GITHUB_OUTPUT"
elif [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
echo "images=$(make list-images-json)" >> "$GITHUB_OUTPUT"
Expand Down
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
SHELL := /bin/bash

IMAGES := $(shell find . -maxdepth 2 -name Containerfile -printf '%h\n' | cut -d'/' -f2 | sort -u)
RETIRED_IMAGES := opencode-sms-bridge
IMAGES := $(filter-out $(RETIRED_IMAGES),$(IMAGES))

help:
@echo "Available targets:"
@echo " list-images - List all image directories (one per line)"
@echo " list-images-json - List all image directories as JSON array"
@echo " changed-images - List images with changes since HEAD~1 as JSON array"
@echo " list-images - List buildable image directories (one per line)"
@echo " list-images-json - List buildable image directories as JSON array"
@echo " changed-images - List buildable images with changes since HEAD~1 as JSON array"

changed-images:
@changed=$$(git diff --name-only HEAD~1 HEAD 2>/dev/null | cut -d'/' -f1 | sort -u); \
Expand Down
2 changes: 2 additions & 0 deletions opencode-sms-bridge/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# OpenCode SMS bridge

> **Deprecated 2026-09-19.** This image is retired from build and publication. Every `make` selection target excludes it, and CI rejects a manual dispatch that names it, so no new `ghcr.io/makeitworkcloud/opencode-sms-bridge` tags will be pushed. Existing published tags and attestations remain available unchanged. The source, `Containerfile`, and tests are retained for history and local test runs.

`opencode-sms-bridge` is the private Twilio SMS/MMS ingress and worker for four fixed, existing primary OpenCode agents: `lawnmowerman`, `grillmaster`, `homesteader`, and `homerepair`. It is not a general Twilio API proxy and never accepts an agent, model, tool, session, or routing choice from a caller.

## Runtime modes
Expand Down
Loading