fix(ci): align backend image with deployment
This commit is contained in:
@@ -9,7 +9,6 @@ if [[ "${1:-}" == "-h" || "${1:-}" == "--help" ]]; then
|
||||
echo " bash scripts/trigger-gitea-pipeline.sh"
|
||||
echo " bash scripts/trigger-gitea-pipeline.sh origin latest"
|
||||
echo " bash scripts/trigger-gitea-pipeline.sh gitea latest"
|
||||
echo " bash scripts/trigger-gitea-pipeline.sh origin v2026.06.09.1"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
@@ -30,6 +29,11 @@ resolve_default_remote() {
|
||||
REMOTE="${1:-}"
|
||||
TAG="${2:-latest}"
|
||||
|
||||
if [[ "$TAG" != "latest" ]]; then
|
||||
echo "[ERROR] This deployment only supports the 'latest' tag."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! git rev-parse --git-dir >/dev/null 2>&1; then
|
||||
echo "[ERROR] Current directory is not a git repository."
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user