From 0c13457928af541c807c7008098b0ae2ee7ad345 Mon Sep 17 00:00:00 2001 From: carlohcs Date: Mon, 12 Aug 2024 01:34:02 -0300 Subject: [PATCH] chore: Update kustomize path and download kustomize in gc.yaml --- .github/workflows/gc.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/gc.yaml b/.github/workflows/gc.yaml index cb9f298..90fa6c6 100644 --- a/.github/workflows/gc.yaml +++ b/.github/workflows/gc.yaml @@ -102,10 +102,14 @@ jobs: run: |- # Enter to the k8s directory (because kustomize cannot get the correct path) cd ./k8s + # Download kustomize curl -sfLo ./kustomize https://github.com/kubernetes-sigs/kustomize/releases/download/v3.1.0/kustomize_3.1.0_linux_amd64 chmod u+x ./kustomize + # Set the correct path to the kustomize binary (prevent the error: kustomize: command not found) + export PATH=$PATH:./k8s + # Deploy the Docker image to the GKE cluster - name: Deploy to GKE run: |-