Skip to content

fix: missing api_key in template schema #20

fix: missing api_key in template schema

fix: missing api_key in template schema #20

Workflow file for this run

name: Build and Push Custom Filebeat Image
on:
push:
branches:
- 1.x
tags:
- "v*.*.*"
jobs:
build_and_push:
runs-on: ubuntu-latest
strategy:
matrix:
filebeat_version: ["7.17.8", "8.6.2", "8.13.3"]
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/${{ github.repository_owner }}/filebeat-for-cloudwatch
flavor: |
latest=false
prefix=${{ matrix.filebeat_version }}-
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=ref,event=branch
- name: Build and push custom Filebeat image
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
build-args: |
FILEBEAT_VERSION=${{ matrix.filebeat_version }}
platforms: linux/amd64,linux/arm64
# GitHub Actions Caches
# https://docs.docker.com/build/cache/backends/gha/#using-dockerbuild-push-action
cache-from: type=gha
cache-to: type=gha,mode=max