Skip to content

Commit

Permalink
Merge pull request #7 from ansh-info/develop
Browse files Browse the repository at this point in the history
Add: Docker CI Workflow
  • Loading branch information
apoorva-info authored Jan 3, 2025
2 parents 3b55036 + 7eeb306 commit 72a1ff8
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 2 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/docker-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Docker CI

on:
push:
branches:
- develop
- main
tags: ["v*"]
pull_request:
branches:
- develop
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: |
${{ secrets.DOCKER_HUB_USERNAME }}/literature-survey:latest
${{ secrets.DOCKER_HUB_USERNAME }}/literature-survey:${{ github.sha }}
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ Literature Survey System

![ER Diagram](images/db_er_diagram.png)

![Papers ER Diagram](images/papers_er_diagram.png)

### Core Components

- `Article` & `Author` classes: Advanced data modeling
Expand Down
Binary file removed images/papers_er_diagram.png
Binary file not shown.

0 comments on commit 72a1ff8

Please sign in to comment.