SANDRAMSC commited on
Commit
1e9cd60
1 Parent(s): 69bb4f6

Update ci-cd.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/ci-cd.yml +4 -7
.github/workflows/ci-cd.yml CHANGED
@@ -5,17 +5,14 @@ on:
5
  branches: ["main"]
6
 
7
  jobs:
8
- build:
9
  runs-on: ubuntu-latest
10
-
11
  steps:
12
- - uses: actions/checkout@v3
13
-
14
- - name: DockerHub Login
15
- uses: docker/login-action@v3.1.0
16
  with:
17
  username: ${{ secrets.DOCKERHUB_USERNAME }}
18
- password: ${{ secrets.DOCKERHUB_PASSWORD }}
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