out_opentelemetry: added missing result checks and fixed leaks (CID 514593) #2547
Workflow file for this run
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: Remove docker images for stale/closed PR(s). | |
on: | |
pull_request: | |
branches: | |
- master | |
types: [closed] | |
jobs: | |
cleanup: | |
name: PR - cleanup pr-${{ github.event.number }} images | |
runs-on: ubuntu-latest | |
permissions: | |
# We may need a specific token here with `packages:admin` privileges which is not available to GITHUB_TOKEN | |
packages: write | |
steps: | |
- uses: vlaurin/[email protected] | |
with: | |
organization: fluent | |
container: fluent-bit/pr-${{ github.event.number }} | |
token: ${{ secrets.GITHUB_TOKEN }} | |
prune-untagged: true | |
keep-last: 0 |