Sign inSign up

xiaoyao9184/texify

By xiaoyao9184

Updated over 1 year ago

Image
0

406

xiaoyao9184/texify repository overview

Docker Texify

A Docker image built through Github Actions with Git commit version tag

Why

I found that Texify's Docker image is difficult to find. The code on GitHub does not provide a pre-built Docker image.

After reviewing the following items

This project will use GitHub Actions and Docker Hub to build and publish images, aiming to keep the process as clean as possible without custom configuration files.

Tags

The images of this project will be published to Docker Hub under the repository xiaoyao9184/texify.

Since this project references the Texify project via a submodule, it cannot monitor push events on the Texify project, and therefore cannot automatically create an image for every commit. A good solution is to manually trigger the action and tag it with the commit id. For more details, see this article set-dynamic-parameters-github-workflows-en.

The default image name format is ${DOCKERHUB_USERNAME}/texify.

The tag uses the input parameter commit_id, which can be either a branch name or a commit id, when manually triggering the docker-image-tag-commit job. if the job is triggered by a submodule update push, the default branch name master will be used instead of the commit_id parameter. This job will also use the shortened commit id as the tag.

If the job docker-image-tag-version is triggered with the texify_version parameter set to the PyPI Texify version number, the Texify package published on PyPI will be installed for the build, and texify_version will be used as the tag.

Currently, only the linux/amd64 platform is supported.

Change

You can fork this project and build your own image. You will need to provide the following variables: DOCKERHUB_USERNAME, DOCKERHUB_TOKEN. See this for more details.

Tag summary

Content type

Image

Digest

sha256:7e4e71a1c

Size

3.5 GB

Last updated

over 1 year ago

docker pull xiaoyao9184/texify