Skip to content

feat: add cd to api#22

Merged
martian56 merged 1 commit intomainfrom
16-write-cd-for-api
Dec 12, 2025
Merged

feat: add cd to api#22
martian56 merged 1 commit intomainfrom
16-write-cd-for-api

Conversation

@nadir2609
Copy link
Copy Markdown
Collaborator

This pull request introduces a new GitHub Actions workflow for continuous delivery of the API. The workflow automates building and pushing Docker images to the GitHub Container Registry whenever changes are pushed to the main branch affecting the API or its workflow configuration.

Continuous Delivery Automation:

  • Added a new workflow file .github/workflows/api-cd.yml that triggers on pushes to main affecting the api directory or the workflow file itself, and automates building and pushing Docker images for the API to GHCR.

Closes #16

@nadir2609 nadir2609 self-assigned this Dec 12, 2025
Copilot AI review requested due to automatic review settings December 12, 2025 06:18
@nadir2609 nadir2609 added enhancement New feature or request CI/CD API labels Dec 12, 2025
@github-project-automation github-project-automation Bot moved this to Todo in ChatOps Dec 12, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds a GitHub Actions workflow for continuous delivery of the API service. The workflow automates the process of building and publishing Docker images to GitHub Container Registry (GHCR) whenever changes are pushed to the main branch that affect the API codebase.

  • Adds automated Docker image building and publishing triggered by changes to the api/ directory or the workflow itself
  • Configures authentication with GHCR using GitHub tokens
  • Tags images with both latest and the commit SHA for version tracking

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/api-cd.yml
Comment thread .github/workflows/api-cd.yml
Comment thread .github/workflows/api-cd.yml
Copy link
Copy Markdown
Owner

@martian56 martian56 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could implement chaching for performace, but no worries!

@martian56 martian56 merged commit be42e98 into main Dec 12, 2025
10 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in ChatOps Dec 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API CI/CD enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Write CD for API

3 participants