diff --git a/entrypoint.sh b/entrypoint.sh index d2ae72d..a9e2eaf 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -9,8 +9,8 @@ echo "[default] aws_access_key_id = ${AWS_ACCESS_KEY_ID} aws_secret_access_key = ${AWS_SECRET_ACCESS_KEY}" > ~/.aws/credentials -(aws s3 ls s3:${AWS_S3_BUCKET}${FILE}) && \ +(aws s3 ls s3://${AWS_S3_BUCKET}${FILE}) && \ rm -rf ~/.aws && \ echo "Ooops! Version already exists, aborting upload..." && \ exit 1 \ -|| (aws s3 cp ${FILE} s3:${AWS_S3_BUCKET} --region ${AWS_REGION} $*) && rm -rf ~/.aws \ No newline at end of file +|| (aws s3 cp ${FILE} s3://${AWS_S3_BUCKET} --region ${AWS_REGION} $*) && rm -rf ~/.aws \ No newline at end of file