#!/usr/bin/env bash # Resolve the local Docker image tag for the current repository and distro. # Output format: / # 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")" : "${INFINITO_DISTRO:?Source scripts/meta/env/load.sh or export INFINITO_DISTRO before invoking this script}" printf '%s/%s\n' "${repo_name}" "${INFINITO_DISTRO}"