Skip to content

Commit

Permalink
Only inject telemetry key on non-cloud builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffail committed Oct 17, 2024
1 parent d1b03f2 commit e48efc3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,11 @@ jobs:
uses: docker/setup-buildx-action@v3

- name: Write telemetry private key
if: ${{ matrix.suffix == '' || matrix.suffix == '-cgo' }}
env:
CONNECT_TELEMETRY_PRIV_KEY: ${{ secrets.TELEMETRY_PRIVATE_KEY }}
run: |
echo "Adding telemetry key"
git update-index --skip-worktree ./internal/telemetry/key.pem
echo "$CONNECT_TELEMETRY_PRIV_KEY" > ./internal/telemetry/key.pem
Expand Down

0 comments on commit e48efc3

Please sign in to comment.