Skip to content

Commit

Permalink
remove comments from deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
igorschultz committed May 20, 2024
1 parent 8f1a2df commit cf87f05
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/secure-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ jobs:
curl -s -L https://gist.github.com/raphabot/abae09b46c29afc7c3b918b7b8ec2a5c/raw/ | bash
tmas scan registry:${DOCKER_IMAGE}
# - name: Deploy to GKE
# env:
# GOOGLE_PROJECT: ${{ secrets.GOOGLE_PROJECT }}
# VERSION: ${{ steps.version.outputs.VERSION }}
# run: |
# gcloud container clusters get-credentials igorsdevcluster --region us-central1
# sed -i "s/GOOGLE_PROJECT/$GOOGLE_PROJECT/g" k8s/java-goof.yaml
# kubectl apply -f k8s/java-goof.yaml
- name: Deploy to GKE
env:
GOOGLE_PROJECT: ${{ secrets.GOOGLE_PROJECT }}
VERSION: ${{ steps.version.outputs.VERSION }}
run: |
gcloud container clusters get-credentials igorsdevcluster --region us-central1
sed -i "s/GOOGLE_PROJECT/$GOOGLE_PROJECT/g; s/VERSION/$VERSION/g" k8s/java-goof.yaml
kubectl apply -f k8s/java-goof.yaml
2 changes: 1 addition & 1 deletion todolist-goof/k8s/java-goof.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
spec:
containers:
- name: java-goof
image: us-central1-docker.pkg.dev/GOOGLE_PROJECT/java-goof/java-goof:latest
image: us-central1-docker.pkg.dev/GOOGLE_PROJECT/java-goof/goof:VERSION
ports:
- containerPort: 8080
---
Expand Down

0 comments on commit cf87f05

Please sign in to comment.