Push to Loki #37598
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push to Loki | |
on: | |
workflow_run: | |
workflows: | |
- AKS (Azure IPAM) | |
- AKS (BYOCNI) | |
- EKS (tunnel) | |
- EKS (ENI) | |
- External Workloads | |
- GKE | |
- Go | |
- Image CI Build | |
- Kind | |
- Multicluster | |
- Create Release | |
types: | |
- completed | |
permissions: | |
actions: read | |
jobs: | |
push-to-loki: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Push to Loki | |
uses: michi-covalent/push-to-loki@d23647451078d19828deaa27a45e83437fd4a17c # v0.2.2 | |
with: | |
endpoint: https://logs-prod3.grafana.net/loki/api/v1/push | |
username: ${{ secrets.LOKI_USERNAME }} | |
password: ${{ secrets.LOKI_PASSWORD }} |