Skip to content

feat(devops): Add GitHub Action to publish Docker image to GHCR #14

@intelliDean

Description

@intelliDean

We currently have a production-ready Dockerfile and docker-compose.yml, but users have to build the image locally.

We should add a GitHub Actions workflow that automatically builds the Docker image and publishes it to the GitHub Container Registry (GHCR) whenever a new release tag (e.g., v*) is pushed to the repository.

Acceptance Criteria:

  • Create a new workflow file .github/workflows/docker.yml.
  • Use docker/build-push-action to build the image.
  • Tag the image with latest and the git tag version.
  • Push to ghcr.io/one-block-org/flashstat-server.

Good First Issue: This is a great task for someone experienced with GitHub Actions and Docker who wants to help improve the project's distribution pipeline.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions