From b6b2e0c22dc6285e5910db7ab23ad8969b20be7e Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Sun, 5 Jan 2020 20:10:10 +0800 Subject: [PATCH] Modify the task name to avoid the following error: > default: Pod "h12394dciuksmm2h316rwcjbi7vrl1fr" is invalid: metadata.labels: Invalid value: "Modify Amazon Links": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue', or 'my_value', or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?') --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 5034d2f..e872af4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,7 +3,7 @@ type: docker name: default steps: - - name: Modify Amazon Links + - name: ModifyAmazonLinks image: cibuilds/hugo:0.62.1 commands: - grep -l -r ecx.images-amazon.com content/ | sort | uniq | xargs -t --no-run-if-empty sed -ie "s/http:\/ / ecx.images-amazon.com/https:\/ / images-na.ssl-images-amazon.com/g"