Skip to content

feat: include stress testing script #20

feat: include stress testing script

feat: include stress testing script #20

Workflow file for this run

name: Kenyare AI Underwriter CI/CD Pipeline
on:
push:
branches:
- docker-migration
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push frontend image
uses: docker/build-push-action@v2
with:
context: .
file: Dockerfile.frontend.txt
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/kenyare-docker:frontend
- name: Build and push backend image
uses: docker/build-push-action@v2
with:
context: .
file: Dockerfile.backend.txt
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/kenyare-docker:backend
- name: Build and push nginx image
uses: docker/build-push-action@v2
with:
context: .
file: Dockerfile.nginx
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/kenyare-docker:nginx