Open ngtuna opened 6 years ago
I want to upload artifact(s) to my s3 bucket with public permission, however it returns error:
$ export ARTIFACTS_PERMISSIONS=public $ export ARTIFACTS_CACHE_CONTROL=public $ ./artifacts u INFO[0000] uploading with settings bucket=xxx cache_control=public permissions=public INFO[0000] uploading: /home/tuna/temp-linux-amd64 (size: 5.3KB) download_url=https://s3.amazonaws.com/xxx/temp-linux-amd64 INFO[0003] uploading: /home/tuna/temp-linux-amd64 (size: 5.3KB) download_url=https://s3.amazonaws.com/xxx/temp-linux-amd64 INFO[0006] uploading: /home/tuna/temp-linux-amd64 (size: 5.3KB) download_url=https://s3.amazonaws.com/xxx/temp-linux-amd64 ERRO[0006] failed to upload: /home/tuna/temp-linux-amd64 err=400 Bad Request
Hi @ngtuna you should use:
I want to upload artifact(s) to my s3 bucket with public permission, however it returns error: