0

I need to upload translations file asset on S3 using the concourse s3-ressouce with a "application/json" content-type. Although, the content-type set in aws-s3 is always "binary/octet-stream". It seems to be the default value set when concourse doesn't find any content-type specifications.

Here the related part of the pipeline.yml:

jobs:
- name: upload-en-translation-s3-dev
  serial: true
  plan:
  - get: github-branch-dev
    trigger: true
  - put: translation-dev-en
    params:
      file: github-branch-dev/blablabla/translations/en-*.json
      content_type: application/json

Does any one know how i should do to specify the content-type wanted ?

0 Answers0