Skip to content

Commit

Permalink
fix: use sha in env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsauntson committed Feb 5, 2025
1 parent f1c397c commit e01429a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions infrastructure/app/chart/energy-apps/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ image:
tag: "main"

# plain env vars. Take precedence over any secrets with the same name!
envVars:
APP_VERSION: {{ .Values.image.tag }}
envVars: {}

# values to store in a secret. Only intended to be set with helm --set at e.g. deployment time!!
secrets:
Expand Down
1 change: 1 addition & 0 deletions infrastructure/app/stages/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ envVars:
RAILS_ENV: production
USE_TEST_SUPPLIERS: ${{ vars.USE_TEST_SUPPLIERS }}
FF_SMALL_SUPPLIER_STARS: ${{ vars.FF_SMALL_SUPPLIER_STARS }}
APP_VERSION: ${{ github.sha }}

autoscaling:
enabled: true
Expand Down

0 comments on commit e01429a

Please sign in to comment.