Skip to content

Docker container and GitHub action for compiling therion projects.

Notifications You must be signed in to change notification settings

matteopic/therion-container

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Docker Image Version GitHub marketplace

Therion Container

This is the docker container version for therion project.

Init submodules

After you have cloned this repository you need to launch following commands

git submodule --init git submodule update

Run with Docker

The container build is available on Docker Hub. To use it, just mount your project dir in any container path (the example below uses /opt) and pass the .thconfig file as usual.

docker run --rm -it -v "C:\mytherionproject:/opt" --workdir /opt matteopic/therion:6.2.1-slavic project.thconfig

GitHub Action

You can use the action to let the github compile and release the project for you.

Example usage

Use following step snippet for the .github/workflows/main.yml file.

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - name: Build with therion
        uses: matteopic/therion-container@6.2.1-slavic
        with:
          thconfig: 'myproject.thconfig'

Customizing

inputs

The following inputs can be used as step.with keys:

Name Type Default Description
thconfig String Therion config file used for the build. Path is relative to repository root. (Required)

Required The path of thconfig file relative to the repository.

For a full working example look at grotta del fiume project. When a push occurs therion project is compiled and resulting PDF, LOX files are published in a github hosted website. Here the github workflow