diff --git a/.github/workflows/brycerunner.yml b/.github/workflows/brycerunner.yml index 5a3a158..ac05abe 100644 --- a/.github/workflows/brycerunner.yml +++ b/.github/workflows/brycerunner.yml @@ -39,7 +39,14 @@ jobs: cd .. # kubectl -n bryce2 create configmap blazor-web-postgres-init --from-file=TestTicket/20240215.01.21.01.sql - kubectl apply -f kube/ + #kubectl apply -f kube/ + + + RUN_ID=${{ github.run_id }} + for file in ./kube; do + echo "Applying $file" + cat $file | envsubst | kubectl apply -f -f - + done # - name: "Integration Tests" diff --git a/kube/web-deployment.yml b/kube/web-deployment.yml index 434192d..70b650a 100644 --- a/kube/web-deployment.yml +++ b/kube/web-deployment.yml @@ -17,7 +17,7 @@ spec: spec: containers: - name: blazor-web - image: 144.17.92.12:5000/bryce2/blazor-web:1 + image: 144.17.92.12:5000/bryce2/blazor-web:${RUN_ID} ports: - containerPort: 8080 env: