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 972445d commit 9633626Copy full SHA for 9633626
.github/workflows/deploy.yml
@@ -40,14 +40,12 @@ jobs:
40
java-version: '17'
41
distribution: 'temurin' # OpenJDK distribution
42
cache: 'maven'
43
-
44
- - name: Docker login
45
- env:
46
- DOCKER_HUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
47
- DOCKER_HUB_PASSWORD: ${{ secrets.DDOCKERHUB_TOKEN }}
48
- run: |
49
- echo "Logging to Dockerhub..."
50
- echo "$DOCKER_HUB_PASSWORD" | docker login -u "$DOCKER_HUB_USERNAME" --password-stdin
+
+ - name: Login to Docker Hub
+ uses: docker/login-action@v3
+ with:
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
+ password: ${{ secrets.DDOCKERHUB_TOKEN }}
51
52
- name: Stop running Docker containers
53
continue-on-error: true
0 commit comments