From 346d5b7c982013282eb61db8edb38689bbd1ba2f Mon Sep 17 00:00:00 2001 From: David Landry Date: Thu, 27 Mar 2025 13:13:51 -0400 Subject: [PATCH] chore(portfolio): add build arg for environment --- apps/portfolio/base/job.build-site.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/portfolio/base/job.build-site.yaml b/apps/portfolio/base/job.build-site.yaml index 49c97ee..f911fb0 100644 --- a/apps/portfolio/base/job.build-site.yaml +++ b/apps/portfolio/base/job.build-site.yaml @@ -10,6 +10,8 @@ spec: image: gcr.io/kaniko-project/executor:latest args: - "--context=git://git.nc.landry.land/davad/portfolio-site.git" # Need to set env GIT_USERNAME and GIT_PASSWORD + #- "--build-arg 'HUGO_ENVIRONMENT=production'" + - "--build-arg 'HUGO_ENVIRONMENT=staging'" - "--destination=registry.int.nc.landry.land/portfolio-site:$TAG" # Need to set TAG somehow. Maybe this goes in the overlays? volumeMounts: - name: kaniko-secret