chore(portfolio): add build arg for environment
This commit is contained in:
parent
058785ba2d
commit
346d5b7c98
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue