mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-02-04 05:11:12 +00:00
update gke deployments
This commit is contained in:
parent
874c9d02a7
commit
04639d9438
2 changed files with 6 additions and 2 deletions
2
.github/workflows/ci-petclinic-gke.yaml
vendored
2
.github/workflows/ci-petclinic-gke.yaml
vendored
|
|
@ -132,7 +132,7 @@ jobs:
|
|||
NEW_IMAGE="${GAR_LOCATION}-docker.pkg.dev/${GCP_PROJECT_ID}/${GAR_REPOSITORY}/${IMAGE_NAME}:${IMAGE_TAG}"
|
||||
grep -n "image:" "$YAML_PATH"
|
||||
sed -i "s#^\(\s*image:\s*\).*#\1${NEW_IMAGE}#" "$YAML_PATH"
|
||||
|
||||
|
||||
- name: Commit and push changes
|
||||
if: github.ref == 'refs/heads/main'
|
||||
run: |
|
||||
|
|
|
|||
|
|
@ -42,7 +42,11 @@ spec:
|
|||
value: "postgres"
|
||||
- name: SPRING_DATASOURCE_DRIVER_CLASS_NAME
|
||||
value: "org.postgresql.Driver"
|
||||
|
||||
- name: SPRING_SQL_INIT_MODE
|
||||
value: "never"
|
||||
- name: SPRING_JPA_HIBERNATE_DDL_AUTO
|
||||
value: "none"
|
||||
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8080
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue