Skip to content

#1 created proper timePoint annotations for bounding boxes #3

#1 created proper timePoint annotations for bounding boxes

#1 created proper timePoint annotations for bounding boxes #3

Workflow file for this run

name: "πŸ“¦ Publish image>ghcr, metadata>appdir"
on:
workflow_dispatch:
inputs:
tag:
required: true
type: string
description: 'git tag to use to build an app image'
push:
tags:
- '*'
jobs:
set-version:
runs-on: ubuntu-latest
name: "🏷 Set version value"
outputs:
version: ${{ steps.output_version.outputs.version }}
steps:
- name: "πŸ“Œ Set VERSION value from dispatch inputs"
id: get_version_dispatch
if: ${{ github.event_name == 'workflow_dispatch' }}
run: echo "VERSION=${{ github.event.inputs.tag }}" >> $GITHUB_ENV
- name: "πŸ“Œ Set VERSION value from pushed tag"
id: get_version_tag
if: ${{ github.event_name == 'push' }}
run: echo "VERSION=$(echo "${{ github.ref }}" | cut -d/ -f3)" >> $GITHUB_ENV
- name: "🏷 Record VERSION for follow-up jobs"
id: output_version
run: |
echo "version=${{ env.VERSION }}" >> $GITHUB_OUTPUT
publish-image:
needs: ['set-version']
name: "πŸ€™ Call app container workflow"
uses: clamsproject/.github/.github/workflows/app-container.yml@main
secrets: inherit
with:
version: ${{ needs.set-version.outputs.version }}
arm64: false
register-appdir:
needs: ['set-version', 'publish-image']
name: "πŸ€™ Call app registration workflow"
uses: clamsproject/apps/.github/workflows/register.yml@main
secrets: inherit
with:
repo: ${{ github.repository }}
tag: ${{ needs.set-version.outputs.version }}
container: 'ghcr.io/${{ github.repository }}:${{ needs.set-version.outputs.version }}'