Skip to content

Conversation

@LoayAhmed304
Copy link
Member

@LoayAhmed304 LoayAhmed304 commented Oct 23, 2025

Workflow

When a PR is MERGED into either dev or main:

  1. Builds the Dockerfile (layers are cached)
  2. Pushes new tag to the repository (Major or Minor depending on base branch)
  3. Push to Dockerhub
    a. Push the newly created tag, and also push latest or staging-latest depending on environment
  4. Send a discord message with the newly deployed status (and URL, staging or production)
image

Example of the Dockerhub repo

image

Example of the Repository tags

image

Eventually, there will be a watch tower on the machine that polls the manifests of the latest and staging-latest tags, pulls when a new hash is found and re-deploys. Docker composes and VM deployment files will be uploaded in a future PR.

The tags will be VERY important for the future rollback feature

@LoayAhmed304
Copy link
Member Author

Task linked: CU-869aqhbq2 Build & Deploy Pipeline

Copy link
Member

@AhmedSobhy01 AhmedSobhy01 left a comment

Choose a reason for hiding this comment

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

Thanks to our DevOps leader

@AhmedSobhy01 AhmedSobhy01 merged commit 9f98b41 into dev Oct 26, 2025
7 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.

2 participants