update action to login to docker hub

This commit is contained in:
Andrew Welker
2020-05-18 17:22:47 -06:00
parent 85ed3e5024
commit 348668f273
2 changed files with 12 additions and 0 deletions

View File

@@ -51,6 +51,12 @@ jobs:
run: |
Write-Output ${{ env.VERSION }}
./.github/scripts/UpdateAssemblyVersion.ps1 ${{ env.VERSION }}
# Login to Docker
- name: Login to Docker
uses: azure/docker-login@v1
with:
username: ${{ secrets.dockerhub_password }}
password: ${{ secrets.dockerhub_user }}
# Build the solutions in the docker image
- name: Build Solution
shell: powershell

View File

@@ -47,6 +47,12 @@ jobs:
run: |
Write-Output ${{ env.VERSION }}
./.github/scripts/UpdateAssemblyVersion.ps1 ${{ env.VERSION }}
# Login to Docker
- name: Login to Docker
uses: azure/docker-login@v1
with:
username: ${{ secrets.dockerhub_password }}
password: ${{ secrets.dockerhub_user }}
# Build the solutions in the docker image
- name: Build Solution
shell: powershell