sanitize tag-names for kubernetes
This commit is contained in:
@@ -125,7 +125,7 @@ steps:
|
|||||||
port: 22
|
port: 22
|
||||||
command_timeout: 2m
|
command_timeout: 2m
|
||||||
script:
|
script:
|
||||||
- export NAME=$DRONE_TAG
|
- export NAME=$(echo $DRONE_TAG | tr '.' '-')
|
||||||
- envsubst < /home/debian/manifest.yml | sudo kubectl apply -f -
|
- envsubst < /home/debian/manifest.yml | sudo kubectl apply -f -
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user