Spaces:
Running
Running
Update ci-cd.yml
Browse files
.github/workflows/ci-cd.yml
CHANGED
@@ -5,17 +5,14 @@ on:
|
|
5 |
branches: ["main"]
|
6 |
|
7 |
jobs:
|
8 |
-
|
9 |
runs-on: ubuntu-latest
|
10 |
-
|
11 |
steps:
|
12 |
-
-
|
13 |
-
|
14 |
-
- name: DockerHub Login
|
15 |
-
uses: docker/login-action@v3.1.0
|
16 |
with:
|
17 |
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
18 |
-
password: ${{ secrets.
|
19 |
|
20 |
- name: Build the Docker image
|
21 |
run: docker build . --file Dockerfile --tag ${{ secrets.DOCKERHUB_USERNAME }}/docverifyrag
|
|
|
5 |
branches: ["main"]
|
6 |
|
7 |
jobs:
|
8 |
+
login:
|
9 |
runs-on: ubuntu-latest
|
|
|
10 |
steps:
|
11 |
+
- name: Login to Docker Hub
|
12 |
+
uses: docker/login-action@v3
|
|
|
|
|
13 |
with:
|
14 |
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
15 |
+
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
16 |
|
17 |
- name: Build the Docker image
|
18 |
run: docker build . --file Dockerfile --tag ${{ secrets.DOCKERHUB_USERNAME }}/docverifyrag
|