Skip to content

initial commit:tofunmi's solution to the insait assignment #1

initial commit:tofunmi's solution to the insait assignment

initial commit:tofunmi's solution to the insait assignment #1

Workflow file for this run

name: CI/CD Pipeline
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build Docker image
run: |
docker build -t oluwatofunmi/question-answer:latest .
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Push Docker image to DockerHub
run: docker push oluwatofunmi/question-answer:latest