Per change request, updating registry login to utilize username from secret, instead of github running actor

This commit is contained in:
William Perdue 2021-11-16 12:18:36 -08:00
parent 94656e4be7
commit 15ccf14b1c
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ jobs:
uses: docker/login-action@v1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
username: ${{ secrets.SERVICE_USER }} # Defined in secrets for auth to registry
password: ${{ secrets.GITHUB_TOKEN }}
- name: build and push
uses: docker/build-push-action@v2