Skip to content

Commit

Permalink
Merge pull request #2944 from redpanda-data/t-key-non-cloud
Browse files Browse the repository at this point in the history
Only inject telemetry key on non-cloud builds
  • Loading branch information
Jeffail authored Oct 17, 2024
2 parents d1b03f2 + e48efc3 commit f6c024a
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 f6c024a

Please sign in to comment.