fix: inject secrets from Consul KV via Nomad template (not baked in image)
Some checks failed
Build and Deploy / deploy (push) Failing after 5s

This commit is contained in:
Henrik Jess Nielsen
2026-05-23 00:58:44 +02:00
parent ad43e80f95
commit 4305c1bc13
2 changed files with 12 additions and 12 deletions

View File

@@ -25,18 +25,6 @@ jobs:
run: |
echo "${{ secrets.HARBOR_ROBOT_TOKEN }}" | docker login registry.i80.dk -u "robot\$gitserver" --password-stdin
- name: Write production env
run: |
cat > .env.production << 'ENVEOF'
TINK_CLIENT_ID=${{ secrets.TINK_CLIENT_ID }}
TINK_CLIENT_SECRET=${{ secrets.TINK_CLIENT_SECRET }}
TINK_REDIRECT_URI=https://tink-demo.i80.dk/callback
APP_BASE_URL=https://tink-demo.i80.dk
DEMO_MODE=false
ENVEOF
# Strip leading spaces
sed -i 's/^[[:space:]]*//' .env.production
- name: Build and push image
run: |
SHA=$(echo "$GITHUB_SHA" | cut -c1-8)