matteopic/therion

By matteopic

Updated about 1 year ago

Docker container and GitHub action for compiling therion projects.

Image
0

678

matteopic/therion repository overview

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.3.1 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/[email protected]
        with:
          thconfig: 'myproject.thconfig'

Customizing

inputs

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

NameTypeDefaultDescription
thconfigStringTherion 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

Tag summary

Content type

Image

Digest

sha256:83a1e8d90

Size

257.7 MB

Last updated

about 1 year ago

docker pull matteopic/therion:6.3.4