this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

switch to docker

+34 -23
+18 -15
.tangled/workflows/build.yml
··· 312 312 TAGS=$(cat .build-meta/image-tags.txt) 313 313 SHA=$(cat .build-meta/image-sha.txt) 314 314 315 - # Registry configuration — expects secrets to be set via Tangled repo settings: 316 - # REGISTRY_URL - e.g. ghcr.io or a custom registry 317 - # REGISTRY_IMAGE - e.g. ohcnetwork/care 318 - # REGISTRY_USERNAME - auth username 319 - # REGISTRY_TOKEN - auth token/password 320 - REGISTRY_URL="${REGISTRY_URL:-}" 321 - REGISTRY_IMAGE="${REGISTRY_IMAGE:-}" 322 - REGISTRY_USERNAME="${REGISTRY_USERNAME:-}" 315 + # Registry configuration — Docker Hub by default. 316 + # Override via Tangled repo secrets to push elsewhere. 317 + # REGISTRY_URL - defaults to docker.io (Docker Hub) 318 + # REGISTRY_IMAGE - defaults to ohcnetwork/care 319 + # REGISTRY_USERNAME - Docker Hub username (secret) 320 + # REGISTRY_TOKEN - Docker Hub access token (secret) 321 + REGISTRY_URL="${REGISTRY_URL:-docker.io}" 322 + REGISTRY_IMAGE="${REGISTRY_IMAGE:-tellmey/care}" 323 + REGISTRY_USERNAME="${REGISTRY_USERNAME:-tellmey}" 323 324 REGISTRY_TOKEN="${REGISTRY_TOKEN:-}" 324 325 325 - if [ -z "$REGISTRY_URL" ] || [ -z "$REGISTRY_IMAGE" ] || [ -z "$REGISTRY_TOKEN" ]; then 326 - echo "Registry credentials not configured. Skipping push." 326 + if [ -z "$REGISTRY_TOKEN" ]; then 327 + echo "Registry token not configured. Skipping push." 327 328 echo "" 328 329 echo "To enable pushing, set these secrets in your Tangled repo settings:" 329 - echo " REGISTRY_URL (e.g. ghcr.io)" 330 - echo " REGISTRY_IMAGE (e.g. ohcnetwork/care)" 331 - echo " REGISTRY_USERNAME (e.g. your-username)" 332 - echo " REGISTRY_TOKEN (e.g. your-token)" 330 + echo " REGISTRY_USERNAME (Docker Hub username)" 331 + echo " REGISTRY_TOKEN (Docker Hub access token)" 332 + echo "" 333 + echo "Optional overrides (have sensible defaults):" 334 + echo " REGISTRY_URL (default: docker.io)" 335 + echo " REGISTRY_IMAGE (default: ohcnetwork/care)" 333 336 echo "" 334 337 echo "The following tags would have been pushed:" 335 338 for TAG in $TAGS; do 336 - echo " - ${REGISTRY_URL:-<registry>}/${REGISTRY_IMAGE:-<image>}:${TAG}" 339 + echo " - ${REGISTRY_URL}/${REGISTRY_IMAGE}:${TAG}" 337 340 done 338 341 exit 0 339 342 fi
+16 -8
care/CLAUDE.md
··· 360 360 361 361 ## Secrets Required (to be set in Tangled repo settings) 362 362 363 - | Secret | Used for | 364 - |---|---| 365 - | `REGISTRY_URL` | Registry hostname (e.g. `ghcr.io`) | 366 - | `REGISTRY_IMAGE` | Image path (e.g. `ohcnetwork/care`) | 367 - | `REGISTRY_USERNAME` | `skopeo login` username | 368 - | `REGISTRY_TOKEN` | `skopeo login` password/token | 369 - | `ADDITIONAL_PLUGS` | (Optional) JSON array of extra plugin specs | 363 + The workflow pushes to **Docker Hub** (`docker.io/ohcnetwork/care`) by default. 364 + Only the credentials need to be configured as secrets — the registry URL and 365 + image name have sensible defaults built into the workflow. 366 + 367 + | Secret | Required | Default | Used for | 368 + |---|---|---|---| 369 + | `REGISTRY_USERNAME` | **Yes** | _(none)_ | Docker Hub username for `skopeo login` | 370 + | `REGISTRY_TOKEN` | **Yes** | _(none)_ | Docker Hub access token for `skopeo login` | 371 + | `REGISTRY_URL` | No | `docker.io` | Registry hostname (override for GHCR, ECR, etc.) | 372 + | `REGISTRY_IMAGE` | No | `ohcnetwork/care` | Image path within the registry | 373 + | `ADDITIONAL_PLUGS` | No | _(none)_ | JSON array of extra plugin specs | 370 374 371 375 Sentry is explicitly out of scope for this workflow. 372 376 373 - **The push step gracefully skips if registry secrets are not configured.** This means the workflow can be tested/iterated on without any secrets set — it will build the image and report what tags would have been pushed. 377 + **The push step gracefully skips if `REGISTRY_TOKEN` is not configured.** This means the workflow can be tested/iterated on without any secrets set — it will build the image and report what tags would have been pushed. 378 + 379 + To enable pushing, create a Docker Hub access token at 380 + https://hub.docker.com/settings/security and set `REGISTRY_USERNAME` and 381 + `REGISTRY_TOKEN` in the Tangled repo secrets. 374 382 375 383 --- 376 384