Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GitHub Actions for Building and Pushing Container Image to ghcr.io #3177

Closed
wants to merge 1 commit into from

Conversation

fuergaosi233
Copy link
Contributor

Add GitHub Actions Workflow for Omnivore

Overview

This pull request introduces a new GitHub Actions workflow to the Omnivore project. The primary goal of this addition is to automate the building and pushing of the Omnivore container image to GitHub Container Registry (ghcr.io). This enhancement aims to facilitate easier and more efficient deployment of Omnivore on Kubernetes clusters for our users.

Changes Made

  • Added a new file .github/workflows/run-tests.yaml.
  • This workflow triggers on every push to the main branch.
  • It includes steps to build the container image and push it to ghcr.io.
  • The workflow uses GitHub secrets for authentication to ghcr.io.

Benefits

  • Automated Container Image Building: Ensures the latest version of Omnivore is always available as a container image without manual intervention.
  • Ease of Deployment on Kubernetes: Users can deploy Omnivore on their Kubernetes clusters directly using the image from ghcr.io, simplifying the deployment process.
  • Version Tracking: Tags in the repository correspond to the container image versions, making it easier to track and roll back if needed.

Usage

Users can pull the latest image from ghcr.io using the following command:

docker pull ghcr.io/omnivore-app/omnivore-api:[tag]
image

Copy link

vercel bot commented Nov 27, 2023

@fuergaosi233 is attempting to deploy a commit to the omnivore Team on Vercel.

A member of the Team first needs to authorize it.

@CLAassistant
Copy link

CLAassistant commented Nov 27, 2023

CLA assistant check
All committers have signed the CLA.

@jacksonh
Copy link
Contributor

Awesome, we have been meaning to do this for a while

@fuergaosi233
Copy link
Contributor Author

Awesome, we have been meaning to do this for a while

Is there any progress??

@jacksonh
Copy link
Contributor

Hey I have finally implemented this after fighting with some github permission issues. Thanks!

@jacksonh jacksonh closed this Feb 21, 2024
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.

None yet

3 participants