Problem with filters/tags in dockstore.yml

I would like to only publish to Dockstore on release tag with the format /v.*/. However, I cannot seem to get it to work.

I’ve been testing at Dockstore.

I’ve tried /v.*/, /.*/ and v* with version v2.14.16, v2.14.17 and v2.14.18 and none of them have shown up.

Any ideas what I’m doing wrong?

Hi,

Thanks for reaching out! I took a look and it appears to be a formatting issue. The filters section of the .dockstore.yml file requires a list for the tags property.

The filters section of your .dockstore.yml looked like:

version: 1.2
workflows:
  - subclass: WDL
    name: PharmCAT-Pipeline
    primaryDescriptorPath: /pipeline/PharmCAT_Pipeline.wdl
    readMePath: /pipeline/README.md
    filters:
      tags: /v.*/

The filters section should instead look like the following. Notice how /v.*/ is a list item.

version: 1.2
workflows:
  - subclass: WDL
    name: PharmCAT-Pipeline
    primaryDescriptorPath: /pipeline/PharmCAT_Pipeline.wdl
    readMePath: /pipeline/README.md
    filters:
      tags: 
        - /v.*/

Hope that helps :slight_smile:

Kathy

That solved it, thanks!

I could have sworn I tried it before…