fix: filter non-local workload when k8s cache init (#639) #246
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: 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 }} |