#1 created proper timePoint annotations for bounding boxes #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }}' | |