Files
qpismont f5f0d3999e
ci/woodpecker/push/tests Pipeline was successful
rebranding herald => steep
2026-09-29 18:36:01 +00:00

23 lines
406 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
IMAGE="tintounn/steep"
if [ -z "${CI_COMMIT_TAG:-}" ]; then
echo "Error: CI_COMMIT_TAG is not set" >&2
exit 1
fi
TAG="${CI_COMMIT_TAG}"
echo "Building ${IMAGE}:${TAG}..."
buildah build \
--file Containerfile \
--tag "docker.io/${IMAGE}:${TAG}" \
.
echo "Pushing ${IMAGE}:${TAG}..."
buildah push "${IMAGE}:${TAG}"
echo "Done: ${IMAGE}:${TAG}"