Skip to content

Commit

Permalink
add deployment details
Browse files Browse the repository at this point in the history
  • Loading branch information
neg-loss authored Mar 23, 2024
1 parent 1829133 commit 9e53244
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,27 @@ on:
branches:
- main

apiVersion: apps/v1
kind: Deployment
metadata:
name: churn-prediction-service
spec:
replicas: 2
selector:
matchLabels:
app: churn-prediction-service
template:
metadata:
labels:
app: churn-prediction-service
spec:
containers:
- name: churn-prediction-service-container
image: asia-south1-docker.pkg.dev/data-science-project-418009/dockerregistry/churn-prediction-service:${{ github.sha }}
ports:
- containerPort: 8080


jobs:
deploy:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 9e53244

Please sign in to comment.