diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b5328ef..517cdec 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -7,8 +7,8 @@ on: env: PROJECT_ID: nlc-bot-36685 GAR_LOCATION: us-central1 - GKE_CLUSTER: production-cluster - GKE_ZONE: us-central1-b + GKE_CLUSTER: main-cluster + GKE_ZONE: us-central1-c DEPLOYMENT_NAME: database REPOSITORY: database IMAGE: production @@ -25,7 +25,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Configure Workload Identity Federation and generate an access token. - id: 'auth' @@ -42,7 +42,7 @@ jobs: # Get the GKE credentials so we can deploy to the cluster - name: Set up GKE credentials - uses: google-github-actions/get-gke-credentials@v0 + uses: google-github-actions/get-gke-credentials@v2 with: cluster_name: ${{ env.GKE_CLUSTER }} location: ${{ env.GKE_ZONE }} diff --git a/build/dockerfile b/build/dockerfile index 92f256e..71b9f1a 100644 --- a/build/dockerfile +++ b/build/dockerfile @@ -1,4 +1,4 @@ -FROM node:alpine +FROM node:20-alpine WORKDIR /app COPY ./package.json ./yarn.lock ./tsconfig.json ./