#!/usr/bin/env bash
set -euo pipefail
ROOT=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/../.." && pwd)
IMAGE=${IMAGE:-ghcr.io/alexcodeplace/themefactory-ci-runner:2026-08-22}
ENGINE=${ENGINE:-docker}
"$ENGINE" build --pull=false -t "$IMAGE" "$ROOT/ci/arc/runner-image"
"$ENGINE" push "$IMAGE"
"$ENGINE" image inspect "$IMAGE" --format '{{index .RepoDigests 0}}'
