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 9ca89c8 commit 844318bCopy full SHA for 844318b
.github/workflows/test-and-deploy.yml
@@ -17,11 +17,20 @@ jobs:
17
timeout-minutes: 20
18
strategy:
19
matrix:
20
- java: [8, 11]
+ java: [ 8, 11 ]
21
+ env:
22
+ DOCKER_LOGIN: ${{ secrets.DOCKER_USERNAME && secrets.DOCKER_AUTH_TOKEN }}
23
steps:
24
- name: Checkout sendgrid-java
25
uses: actions/checkout@v2
26
27
+ - name: Login to Docker Hub
28
+ if: env.DOCKER_LOGIN
29
+ uses: docker/login-action@v1
30
+ with:
31
+ username: ${{ secrets.DOCKER_USERNAME }}
32
+ password: ${{ secrets.DOCKER_AUTH_TOKEN }}
33
+
34
- name: Run Unit Tests
35
run: make test-docker version=${{ matrix.java }}
36
0 commit comments