fix: update docker commands to use GitHub Actions syntax for variables
Some checks failed
Build and Push to Private Registry / build (push) Failing after 5s

This commit is contained in:
stephen schuresko
2025-02-16 16:58:58 -05:00
parent 0efdade499
commit 4b2aaeb361

View File

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