Skip to content

Support image uploads for template icons, logos, and banners #6339

@matifali

Description

@matifali

Problem

We can not use logos/images in the template directory.
Setting icon = ./my-logo.svg does not seem to work.

Solution 1

  • Coder uploads icons from the template directory during a coder templates push

Solution 2

  • We provide a "file upload" button somewhere in Coder for icons such as the template icon and parameters

Workaround

I can upload it to a CDN, and it works, but it's easier if we can include the logos with the template. More intuitive and will also work for the air-gapped scenario.

cc: @BrunoQuaresma @bpmct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions