-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
HardSWoC26SWoC26SWoC26automationautomateautomategh-actionsgithubgithubworkflowsgithub actionsgithub actions
Description
[CI] Setup Docker Build & Push Pipeline for Master Branch
Description
We need to set up a Continuous Integration (CI) pipeline to automate the containerization of our application. Currently, the build and push process is manual.
The goal is to create a GitHub Actions workflow that automatically builds the Docker image and pushes it to our Docker Registry whenever code is pushed to the master branch.
Acceptance Criteria
- A new GitHub Actions workflow file (e.g.,
.github/workflows/docker-publish.yml) is created. - The pipeline triggers only on push events to the
masterbranch. - The pipeline successfully builds the Docker image from the root
Dockerfile. - The pipeline logs into the Docker Registry securely using repository secrets.
- The image is tagged (e.g., with
latestand the git SHA) and pushed to the registry.
Technical Details
Workflow Configuration:
- Trigger:
on: push: branches: [ "master" ] - Runner:
ubuntu-latest - Required Secrets:
DOCKER_USERNAMEDOCKER_PASSWORD(or Access Token)
Metadata
Metadata
Assignees
Labels
HardSWoC26SWoC26SWoC26automationautomateautomategh-actionsgithubgithubworkflowsgithub actionsgithub actions
Projects
Status
In progress