Skip to content

Commit

Permalink
feat: The CI is created.
Browse files Browse the repository at this point in the history
  • Loading branch information
Suraj-kumar00 committed Aug 11, 2024
1 parent edf9e99 commit 4601ef8
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI Pipeline

on:
push:
branches: [ "main" ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Login Dockerhub
env:
DOCKER_USERNAME: ${{secrets.DOCKER_USERNAME}}
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
run: docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD

- name: Build the Docker image
run: docker build -t surajkumar00/ai-customer-support .
- name: Push to Dockerhub
run: docker push surajkumar00/ai-customer-support

0 comments on commit 4601ef8

Please sign in to comment.