Skip to content

Commit

Permalink
Added CI Workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
GautamPatil1 committed Mar 21, 2024
1 parent 3c5993b commit 1987d86
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build Docker image
run: docker build -t gautampatil1/credify-server:latest .
run: docker build -t gautampatil1/rezume:latest .

- name: Push Docker image to Docker Hub
run: docker push gautampatil1/credify-server:latest
run: docker push gautampatil1/rezume:latest

- name: Push Docker image to ghcr.io
run: |
docker login --username gautampatil1 --password ${{ secrets.GH_PAT }} ghcr.io
docker build . --tag ghcr.io/gautampatil1/credify-server:latest
docker push ghcr.io/gautampatil1/credify-server:latest
docker build . --tag ghcr.io/gautampatil1/rezume:latest
docker push ghcr.io/gautampatil1/rezume-server:latest

0 comments on commit 1987d86

Please sign in to comment.