mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-16 20:45:50 +00:00
testing my gitops
This commit is contained in:
parent
5f73f01916
commit
0d7783eadb
1 changed files with 5 additions and 0 deletions
5
.github/workflows/maven-build.yml
vendored
5
.github/workflows/maven-build.yml
vendored
|
@ -62,6 +62,11 @@ jobs:
|
||||||
docker build -t ${{ vars.ACR_NAME }}.azurecr.io/grid-capstone:${{ github.sha }} .
|
docker build -t ${{ vars.ACR_NAME }}.azurecr.io/grid-capstone:${{ github.sha }} .
|
||||||
docker push ${{ 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
|
- name: Getting access to the cluster
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue