fix tr statement

This commit is contained in:
Max Brenner
2021-12-06 10:45:49 +01:00
parent a3306cec39
commit be43b014b2

View File

@@ -169,7 +169,7 @@ jobs:
- name: prepare namespace
id: namespace
run: |
NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ matrix.ap_model }} | tr '[:upper:]' '[:lower:]')" | tr "_" "-"
NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ matrix.ap_model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
kubectl create ns $NAMESPACE
kubectl config set-context --current --namespace=$NAMESPACE
echo "::set-output name=name::${NAMESPACE}"