Skip to content

Commit

Permalink
Update CUDA_Build1.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhargavoza1 committed Mar 26, 2024
1 parent eae7506 commit 189bdec
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/CUDA_Build1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,7 @@ jobs:
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}

- name: Build and deploy nn_backend
run: |
docker build ./NN_backend -t test1repo.azurecr.io/nn_backend:${GITHUB_RUN_NUMBER}
docker push test1repo.azurecr.io/nn_backend:${GITHUB_RUN_NUMBER}

- name: Build and deploy react_app
run: |
docker build ./react_app -t test1repo.azurecr.io/react_app:${GITHUB_RUN_NUMBER}
docker push test1repo.azurecr.io/react_app:${GITHUB_RUN_NUMBER}

- id: check-aks
name: Check if AKS Cluster exists
Expand Down Expand Up @@ -113,6 +104,17 @@ jobs:
az account set --subscription ${{ secrets.AZURE_SUBSCRIPTION_ID }}
az aks get-credentials --resource-group my_test --name myAKSCluster --overwrite-existing

- name: Build and deploy nn_backend
run: |
docker build ./NN_backend -t test1repo.azurecr.io/nn_backend:${GITHUB_RUN_NUMBER}
docker push test1repo.azurecr.io/nn_backend:${GITHUB_RUN_NUMBER}
- name: Build and deploy react_app
run: |
docker build ./react_app -t test1repo.azurecr.io/react_app:${GITHUB_RUN_NUMBER}
docker push test1repo.azurecr.io/react_app:${GITHUB_RUN_NUMBER}


- uses: azure/setup-kubectl@v3
Expand Down

0 comments on commit 189bdec

Please sign in to comment.