We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60f658e commit 76b8b7fCopy full SHA for 76b8b7f
.github/workflows/ci-cd.yml
@@ -29,10 +29,12 @@ jobs:
29
run: mvn -f demo/pom.xml clean package
30
31
# Login to DockerHub
32
- - name: Login to DockerHub
33
- run: |
34
- docker login -u gowthamdineshrajkumar -p gowthamdineshrajkumar
35
-
+ - name: Log in to DockerHub
+ uses: docker/login-action@v2
+ with:
+ username: ${{ secrets.DOCKER_USERNAME }}
36
+ password: ${{ secrets.DOCKER_PASSWORD }}
37
+
38
# Build the Docker image
39
- name: Build Docker image
40
run: |
0 commit comments