Skip to content

Commit

Permalink
Fixed upload
Browse files Browse the repository at this point in the history
  • Loading branch information
tjdett committed Nov 10, 2016
1 parent eedb39c commit 895dea1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,11 @@ for f in "$WORKING_IMAGE" "$WORKING_IMAGE.asc"
do
curl -v -X PUT --retry 1000 \
-H "Authorization: Bearer $TOKEN" \
--data-raw @"$f" \
--data-binary "@$f" \
"$DIT4C_IMAGE_SERVER/$DIT4C_IMAGE_ID/$f"
done

IMAGE_URL="$DIT4C_IMAGE_SERVER/$DIT4C_IMAGE_ID/$WORKING_IMAGE"
curl -v -X PUT --retry 1000 \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: text/plain; charset=UTF-8" \
Expand Down

0 comments on commit 895dea1

Please sign in to comment.