Skip to content

fix: filter non-local workload when k8s cache init (#639) #246

fix: filter non-local workload when k8s cache init (#639)

fix: filter non-local workload when k8s cache init (#639) #246

Workflow file for this run

name: Kindling-agent-CI
on:
push:
branches: [main]
workflow_dispatch:
jobs:
build-latest-test:
if: github.repository == 'KindlingProject/kindling'
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Set TAG
run: echo "TAG=latesttest" >> $GITHUB_ENV
- uses: actions/checkout@v3
- name: build-by-builder-container
uses: addnab/docker-run-action@v3
with:
image: kindlingproject/agent-builder:latest
options: -v ${{ github.workspace }}:/kindling -w /kindling
run: make
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME}}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v3
with:
context: ${{ github.workspace }}/collector/docker
push: true
tags: kindlingproject/kindling-agent:${{ env.TAG }}