8 lines
269 B
Bash
8 lines
269 B
Bash
#!/usr/bin/env bash
|
|
set -Eeuo pipefail
|
|
sha=${1:?release SHA required}
|
|
[[ "$sha" =~ ^[0-9a-f]{40}$ ]]
|
|
# Batch tool: publish a runnable image; no idle web service is needed.
|
|
docker run --rm "prompt-python:$sha" --help
|
|
docker tag "prompt-python:$sha" prompt-python:latest
|