summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jjb/opnfvdocs/build-upload-docu.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/jjb/opnfvdocs/build-upload-docu.sh b/jjb/opnfvdocs/build-upload-docu.sh
index c4c78111a..561ccb177 100644
--- a/jjb/opnfvdocs/build-upload-docu.sh
+++ b/jjb/opnfvdocs/build-upload-docu.sh
@@ -49,9 +49,9 @@ for img in "${{images[@]}}"; do
# uploading found images
echo "uploading $img"
- echo "$img" | gsutil cp -L gsoutput.txt - \
+ cat "$img" | gsutil cp -L gsoutput.txt - \
gs://artifacts.opnfv.org/"$project"/"$img"
- gsutil setmeta -h "Content-Type:text/html" \
+ gsutil setmeta -h "Content-Type:image/jpeg" \
-h "Cache-Control:private, max-age=0, no-transform" \
gs://artifacts.opnfv.org/"$project"/"$img"
cat gsoutput.txt