Skip to content

Build and push Docker image to GitHub Container Registry#1

Open
Nonetss wants to merge 3 commits intovkfolio:masterfrom
Nonetss:master
Open

Build and push Docker image to GitHub Container Registry#1
Nonetss wants to merge 3 commits intovkfolio:masterfrom
Nonetss:master

Conversation

@Nonetss
Copy link
Copy Markdown

@Nonetss Nonetss commented Mar 21, 2026

Summary

Adds a GitHub Actions workflow that builds the app image and pushes it to GitHub Container Registry (GHCR) on every push to master. Deployments can use docker compose with a prebuilt image, so you don’t need to clone the full repository or build the image on the server.

Changes

  • Workflow (.github/workflows/docker-build.yml): checkout, log in to ghcr.io with GITHUB_TOKEN, tag with docker/metadata-action, build and push with docker/build-push-action.
  • Tags: latest on the default branch, branch tags, and short SHA tags with a branch prefix.
    docker-compose.prod.yml: the api service uses ghcr.io/vkfolio/orio-search:latest (alongside SearXNG, Redis, and optional Ollama via the llm profile).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant