Skip to content

chore(deps): update dependency fluent-plugin-prometheus to v2.2.0 - autoclosed #271

chore(deps): update dependency fluent-plugin-prometheus to v2.2.0 - autoclosed

chore(deps): update dependency fluent-plugin-prometheus to v2.2.0 - autoclosed #271

Workflow file for this run

name: CI
on:
pull_request:
jobs:
container-images:
name: Container images
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
fluentd:
- version: v1.16-4.8
- version: v1.16-4.9
- version: v1.16-4.10
alias: v1.16-4.11
- version: v1.17-5.0
image-type:
- base
- filters
- full
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Gather metadata
id: meta
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/${{ github.repository_owner }}/fluentd
flavor: |
latest = false
tags: |
type=raw,value=${{ matrix.fluentd.version }}-${{ matrix.image-type }}
type=raw,value=${{ matrix.fluentd.version }}-${{ matrix.image-type }}-build.${{ github.run_number }}
type=raw,value=${{ !!matrix.fluentd.alias && matrix.fluentd.alias || 'alias' }}-${{ matrix.image-type }},enable=${{ !!matrix.fluentd.alias }}
type=raw,value=${{ !!matrix.fluentd.alias && matrix.fluentd.alias || 'alias' }}-${{ matrix.image-type }}-build.${{ github.run_number }},enable=${{ !!matrix.fluentd.alias }}
labels: |
org.opencontainers.image.description=Custom-built Fluentd image for the Logging operator
org.opencontainers.image.title=Fluentd docker image
org.opencontainers.image.authors=kube-logging authors
org.opencontainers.image.documentation=https://kube-logging.dev/docs/
org.opencontainers.image.version=${{ matrix.fluentd.version }}-${{ matrix.image-type }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ github.token }}
if: github.event_name == 'push'
- name: Build image (${{ matrix.image-type }})
uses: docker/build-push-action@v5
with:
context: ${{ matrix.fluentd.version }}
cache-from: type=gha
cache-to: type=gha,mode=max
push: false
tags: |
${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
target: ${{ matrix.image-type }}