dynk8s-provisioner/ci/common.sh

6 lines
102 B
Bash

# shellcheck: shell=sh
tag_name() {
echo "$1" | sed -e 's/[^a-zA-Z0-9._-]/-/g' -e 's/^[.-]/_/'
}