Skip to content

Feature Request: Prebuild Docker Container via Action in GH Repo #29

Description

@laitco

Feature Description

Add a GitHub Actions workflow that automatically builds and publishes prebuilt Docker images for openai/tunnel-client.

The images could be published to GitHub Container Registry:

ghcr.io/openai/tunnel-client

Use Case

Currently, users need to clone the repository and build the Docker image locally before deploying the tunnel client.

Publishing official prebuilt images would simplify deployment with Docker or Docker Compose and make updates easier and reproducible.

Example:

services:
  tunnel-client:
    image: ghcr.io/openai/tunnel-client:latest
    restart: unless-stopped

Expected Behavior

The GitHub Actions workflow should:

  • Build the Docker image for supported architectures, ideally linux/amd64 and linux/arm64
  • Publish images to GitHub Container Registry
  • Publish versioned tags for releases
  • Optionally publish latest for stable releases
  • Generate image metadata and OCI labels
  • Use Docker Buildx with build caching
  • Optionally generate provenance attestations and an SBOM

Suggested tags:

ghcr.io/openai/tunnel-client:latest
ghcr.io/openai/tunnel-client:v1.2.3
ghcr.io/openai/tunnel-client:1.2
ghcr.io/openai/tunnel-client:sha-<commit>

Alternative Solutions

Users can continue building the image locally:

docker build -t tunnel-client .

However, this requires a local build environment and makes automated deployment and upgrades less convenient.

Additional Context

An official prebuilt image would improve:

  • Docker Compose deployments
  • Automated updates
  • Multi-architecture support
  • Reproducibility
  • Supply-chain transparency
  • Deployment in environments where source builds are undesirable

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