Skip to content

update docker base image #3

update docker base image

update docker base image #3

Workflow file for this run

name: Deployment
on:
pull_request:
branches:
- main
push:
branches:
- main
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_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Build and push backend Docker image
uses: docker/build-push-action@v2
with:
context: ./backend
push: true
tags: hilare/contract-rag-backend:latest
- name: Build and push frontend Docker image
uses: docker/build-push-action@v2
with:
context: ./frontend
push: true
tags: hilare/contract-rag-frontend:latest