| name | update-version-labels |
| description | Update Konflux Dockerfile version labels across Submariner repositories |
| version | 1.0.0 |
| argument-hint | <version> [repo] |
| user-invocable | true |
| allowed-tools | Bash |
Update Version Labels
Updates Dockerfile version labels across 5 upstream repos (9 Dockerfiles) so Konflux's {{ labels.version }} tag
expansion produces correct image tags. Required for Z-stream releases before cutting upstream release.
/update-version-labels 0.23.1
/update-version-labels 0.23.1 subctl
make update-version-labels VERSION=0.23.1
make update-version-labels VERSION=0.23.1 REPO=subctl
Repos: submariner-operator, submariner, lighthouse, shipyard, subctl
Requirements: git, SSH key for git fetch
Arguments: $ARGUMENTS
#!/bin/bash
set -euo pipefail
GIT_ROOT=$(git rev-parse --show-toplevel 2>/dev/null)
if [ -z "$GIT_ROOT" ]; then
echo "โ Not in a git repository"
exit 1
fi
if [ ! -x "$GIT_ROOT/scripts/update-version-labels.sh" ]; then
echo "โ Orchestrator script not found: scripts/update-version-labels.sh"
exit 1
fi
exec "$GIT_ROOT/scripts/update-version-labels.sh" $ARGUMENTS