fix: update docker login command to use secrets for authentication
Some checks failed
Build and Push to Private Registry / build (push) Failing after 4s

This commit is contained in:
stephen schuresko
2025-02-16 17:09:07 -05:00
parent 56587925db
commit 253274363d

View File

@@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: docker login kube-reg.fairfaxmedia.net -u ${{ vars.DOCK_REG_USER }} -p ${{ vars.DOCK_REG_AUTH }} # Login to private registry
- run: docker login kube-reg.fairfaxmedia.net -u docker -p ${{ secrets.DOCK_REG_AUTH }} # Login to private registry
- run: docker build -t kube-reg.fairfaxmedia.net/papi/svc1:${{ gitea.ref }} . # Build the Docker image
- run: docker push kube-reg.fairfaxmedia.net/papi/svc1:${{ gitea.ref }} # Push the Docker image