Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dongitran committed Nov 27, 2023
1 parent 5f48736 commit 027aaef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/deploy-kubernetes-engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ jobs:
run: |
./google-cloud-sdk/bin/gcloud auth configure-docker
- name: Build and push Docker image
run: |
docker build -t gcr.io/${{ secrets.GCP_PROJECT_ID }}/kubernetes-engine-ci-cd-template .
docker push gcr.io/${{ secrets.GCP_PROJECT_ID }}/kubernetes-engine-ci-cd-template
- name: Install kubectl plugin
run: |
./google-cloud-sdk/bin/gcloud components install kubectl
Expand Down
2 changes: 1 addition & 1 deletion deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
spec:
containers:
- name: nginx-container
image: gcr.io/cdtest-406103/kubernetes-engine-ci-cd-template@sha256:60799eeba355e69530841972016773e901bfc762108efeedbb7412c7741672c9
image: gcr.io/cdtest-406103/kubernetes-engine-ci-cd-template:latest
ports:
- containerPort: 8080

Expand Down

0 comments on commit 027aaef

Please sign in to comment.