NoIssue: Support for building runable docker container

This commit is contained in:
2025-12-27 22:28:39 +01:00
parent 0eed8a5fd4
commit 3bd4708e17
15 changed files with 207 additions and 20 deletions

View File

@@ -1,6 +1,12 @@
#!/usr/bin/env bash
set -euo pipefail
export VERSION=$(git describe --tags --exact-match 2>/dev/null \
|| git symbolic-ref --short -q HEAD \
|| git rev-parse --short HEAD)
echo "Building and publishing (CI/CD) $VERSION..."
echo "Publishing artifact ($VERSION)..."
./gradlew -Pversion=$VERSION publish
echo "Publishing docker container ($VERSION)..."
./build/docker/publish.sh