Spaces:
Runtime error
Runtime error
Update ci-cd.yml
Browse files- .github/workflows/ci-cd.yml +10 -10
.github/workflows/ci-cd.yml
CHANGED
@@ -19,14 +19,14 @@ jobs:
|
|
19 |
- name: Install dependencies
|
20 |
run: pip install -r requirements.txt
|
21 |
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
26 |
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
docker push sandramsc/docverifyrag:latest
|
|
|
19 |
- name: Install dependencies
|
20 |
run: pip install -r requirements.txt
|
21 |
|
22 |
+
- name: DockerHub Login
|
23 |
+
uses: docker/login-action@v2.1.0
|
24 |
+
with:
|
25 |
+
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
26 |
+
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
27 |
|
28 |
+
- name: Build the Docker image
|
29 |
+
run: docker build . --file Dockerfile --tag ${{ secrets.DOCKERHUB_USERNAME }}/docverifyrag
|
30 |
+
|
31 |
+
- name: Docker Push
|
32 |
+
run: docker push ${{ secrets.DOCKERHUB_USERNAME }}/docverifyrag
|
|