Skip to content

Automatically publish Docker image to GHCR #30

Description

@raphaelbahat

Description

Automatically publish the AutoFigure-Edit Docker image to the GitHub Container Registry (GHCR) so that end users can pull and run the container without having to clone the repository and build it themselves.

Motivation

Currently, users need to:

  1. Clone the repository
  2. Build the Docker image locally
  3. Run the image

This creates friction for end users who simply want to use the application. Publishing to GHCR would allow users to quickly pull and run the latest image with a single command.

Proposed Solution

  • Set up a GitHub Actions workflow that automatically builds and publishes the Docker image to GHCR on:
    • Every push to the main branch
    • Every release/tag creation
  • Tag images appropriately (e.g., latest, version tags, etc.)
  • Ensure the workflow runs tests or validation before publishing

Benefits

  • Improved user experience for end users
  • Reduced barrier to entry for new users
  • Easier distribution and deployment
  • Automated and consistent image builds

Additional Context

The repository already contains a Dockerfile, so the build process is well-defined and ready for automation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions