rename package to hardings-service, add build-and-tag script

This commit is contained in:
2026-07-16 17:18:12 -04:00
parent 4dddfb9dc2
commit 78897dbc50
2 changed files with 14 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
# Build the container image and tag it for the registry.
# Usage: ./build-and-tag.sh <tag> e.g. ./build-and-tag.sh v1
set -e
IMAGE=hardings-service
REGISTRY=registry.digitalsorcery.net
TAG="${1:?usage: $0 <tag>}"
podman build -t "${IMAGE}:${TAG}" -f Containerfile .
podman tag "${IMAGE}:${TAG}" "${REGISTRY}/${IMAGE}:${TAG}"
echo "Push with: podman push ${REGISTRY}/${IMAGE}:${TAG}"