testing my gitops

This commit is contained in:
Piasecki-grid 2025-03-27 19:20:17 +01:00
parent 5f73f01916
commit 0d7783eadb

View file

@ -62,6 +62,11 @@ jobs:
docker build -t ${{ vars.ACR_NAME }}.azurecr.io/grid-capstone:${{ github.sha }} .
docker push ${{ vars.ACR_NAME }}.azurecr.io/grid-capstone:${{ github.sha }}
- name: My GitOps solution
run: |
sed -i 's|${{ vars.ACR_NAME }}.azurecr.io/grid-capstone:[0-9a-f]\{40\}|${{ vars.ACR_NAME }}.azurecr.io/grid-capstone:${{ github.sha }}|g' deployment.yml
kubectl apply -f deployment.yml
- name: Getting access to the cluster
run: |