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
Some checks failed
Build and Push to Private Registry / build (push) Failing after 5s
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user