Skip to content

generate collection for public-datasets/bioimage.io #57

generate collection for public-datasets/bioimage.io

generate collection for public-datasets/bioimage.io #57

name: generate collection.json
run-name: generate collection for ${{vars.S3_BUCKET}}/${{vars.S3_FOLDER}}
on:
workflow_dispatch:
push:
branches: [main]
concurrency: generate-collection-json
env:
S3_HOST: ${{vars.S3_HOST}}
S3_BUCKET: ${{vars.S3_BUCKET}}
S3_FOLDER: ${{vars.S3_FOLDER}}
S3_ACCESS_KEY_ID: ${{secrets.S3_ACCESS_KEY_ID}}
S3_SECRET_ACCESS_KEY: ${{secrets.S3_SECRET_ACCESS_KEY}}
jobs:
call:
strategy:
matrix:
mode: [staged, published]
uses: bioimage-io/collection/.github/workflows/generate_collection_json_call.yaml@main
with:
mode: ${{matrix.mode}}
S3_HOST: ${{vars.S3_HOST}}
S3_BUCKET: ${{vars.S3_BUCKET}}
S3_FOLDER: ${{vars.S3_FOLDER}}
secrets: inherit