Skip to content

Commit

Permalink
Use --upload-file instead of --data-binary for curl_push because this…
Browse files Browse the repository at this point in the history
… fails uploading to nexus
  • Loading branch information
andykrohg authored and itewk committed Dec 1, 2020
1 parent ebe0b1b commit 26829fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tssc/step_implementers/sign_container_image/curl_push.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def __curl_file(
'--header', f'X-Checksum-Sha1:{signature_file_sha1}',
'--header', f'X-Checksum-MD5:{signature_file_md5}',
'--user', f"{signature_server_username}:{signature_server_password}",
'--data-binary', f"@{container_image_signature_file_path}",
'--upload-file', container_image_signature_file_path,
container_image_signature_url,
_out=stdout_callback,
_err_to_out=True,
Expand Down

0 comments on commit 26829fa

Please sign in to comment.