Files
computer-playbook/scripts/meta/resolve/image/local.sh
T
kevinveenbirkenbachandClaude Sonnet 4.6 135ceefa98 fix(build): add SPOT for local image name and fix missing REPO_PREFIX
Add scripts/meta/resolve/image/local.sh as SPOT for the local Docker
image tag (<repo-basename>/<distro>). Wire it into Makefile build
targets (IMAGE_TAG), compose.py (_base_env sets INFINITO_IMAGE), and
compose.yml (no default fallback). Fix build.sh to accept a pre-set
IMAGE_TAG without requiring REPO_PREFIX. Add make build + build-no-cache
to environment.sh test flow with correct section ordering.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-30 00:16:27 +02:00

11 lines
389 B
Bash
Executable File

#!/usr/bin/env bash
# Resolve the local Docker image tag for the current repository and distro.
# Output format: <repo-basename>/<distro>
# This is the SPOT for the local image name used by both build and compose.
set -euo pipefail
repo_name="$(bash "$(dirname "${BASH_SOURCE[0]}")/../repository/name.sh")"
distro="${INFINITO_DISTRO:-debian}"
printf '%s/%s\n' "${repo_name}" "${distro}"