Skip to content

Commit

Permalink
revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuldeep-knoldus committed Jul 16, 2024
1 parent e9cd5ce commit aced8f7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
if [ "$SERVICE_NAME" != "blogs-analyzer-ui" ]; then
mvn clean install -DskipTests
fi
IMAGE_NAME=blogs-analyzer-repo/gen-lang-client-0999974873/$SERVICE_NAME:$COMMIT_SHA
IMAGE_NAME=gcr.io/gen-lang-client-0999974873/$SERVICE_NAME:$COMMIT_SHA
docker build -t $IMAGE_NAME .
docker push $IMAGE_NAME
cd ..
Expand All @@ -119,7 +119,7 @@ jobs:
for SERVICE_NAME in $(echo $SERVICE_NAMES | tr ',' ' '); do
echo "Deploying $SERVICE_NAME to GKE"
if [ -d "$SERVICE_NAME/k8s" ]; then
sed -i "s|blogs-analyzer-repo/gen-lang-client-0999974873/$SERVICE_NAME:latest|blogs-analyzer-repo/gen-lang-client-0999974873/$SERVICE_NAME:$COMMIT_SHA|g" $SERVICE_NAME/k8s/deployment.yaml
sed -i "s|gcr.io/gen-lang-client-0999974873/$SERVICE_NAME:latest|gcr.io/gen-lang-client-0999974873/$SERVICE_NAME:$COMMIT_SHA|g" $SERVICE_NAME/k8s/deployment.yaml
kubectl apply -f $SERVICE_NAME/k8s/
fi
done
2 changes: 1 addition & 1 deletion blogs-analyzer-ui/k8s/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: blogs-analyzer-ui
image: blogs-analyzer-repo/gen-lang-client-0999974873/blogs-analyzer-ui:latest
image: gcr.io/gen-lang-client-0999974873/blogs-analyzer-ui:latest
ports:
- containerPort: 80
resources:
Expand Down
2 changes: 1 addition & 1 deletion blogs-analyzer/k8s/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
spec:
containers:
- name: blogs-analyzer
image: blogs-analyzer-repo/gen-lang-client-0999974873/blogs-analyzer:latest
image: gcr.io/gen-lang-client-0999974873/blogs-analyzer:latest
env:
- name: GOOGLE_GEMINI_API_KEY
valueFrom:
Expand Down

0 comments on commit aced8f7

Please sign in to comment.