chore(portfolio): add build arg for environment

This commit is contained in:
David Landry 2025-03-27 13:13:51 -04:00
parent 058785ba2d
commit 346d5b7c98

View file

@ -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