Skip to content

feat: add CI pipeline for building and pushing Docker image - #1

Merged
youssef-ar merged 1 commit into
mainfrom
feat/cicd
Apr 3, 2026
Merged

youssef-ar merged 1 commit into
mainfrom
feat/cicd

Conversation

@youssef-ar

@youssef-ar youssef-ar commented Apr 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Chores
    • Added continuous integration pipeline for automated code compilation, packaging, and Docker image building triggered on code pushes and pull requests to main and develop branches.

@coderabbitai

coderabbitai Bot commented Apr 3, 2026 •

Copy link
Copy Markdown
ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Free

Run ID: fe8a37cb-a7b9-4822-924e-9a957cb434eb

📥 Commits

Reviewing files that changed from the base of the PR and between da598ff and 6c79542.

📒 Files selected for processing (1)
  • .github/workflows/ci.yml

📝 Walkthrough

Walkthrough

A new GitHub Actions CI workflow file was added to orchestrate compilation, packaging, and Docker image building. The workflow triggers on pushes and pull requests to main and develop, with three sequentially dependent jobs: compile (runs Maven clean compile), build (runs Maven clean package), and build-docker-image (logs into Docker Hub, extracts version, and pushes images).

Changes

Cohort / File(s) Summary
CI/CD Workflow
.github/workflows/ci.yml
New GitHub Actions workflow defining a three-stage pipeline: compile Maven project, build package, and build/push Docker image with version and latest tags. Includes JDK 21 setup, Maven caching, Docker Hub authentication, and Buildx configuration.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 A pipeline springs to life today,
Compile, build, Docker—hip hooray!
From Maven's depths to Hub so bright,
Our code now builds with automated might!
With caches swift and versions tagged,
No manual steps shall ever drag. ✨


Note

🎁 Summarized by CodeRabbit Free

The PR author is not assigned a seat. To perform a comprehensive line-by-line review, please assign a seat to the pull request author through the subscription management page by visiting https://app.coderabbit.ai/login.

Comment @coderabbitai help to get the list of available commands and usage tips.

@sonarqubecloud

sonarqubecloud Bot commented Apr 3, 2026

Copy link
Copy Markdown

@youssef-ar
youssef-ar merged commit 17c0f91 into main Apr 3, 2026
5 checks passed
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