chore: add install&server commands at Makefile #43
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: Test Build KubeAGI Core Library CLI Image | |
on: | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
env: | |
PYTHON_INDEX_URL: https://pypi.org/simple | |
PACKAGE_REGISTRY: deb.debian.org | |
jobs: | |
test_image_build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
buildkitd-flags: --debug | |
config-inline: | | |
[worker.oci] | |
max-parallelism = 1 | |
- name: Set up GCC | |
uses: egor-tensin/setup-gcc@v1 | |
with: | |
version: latest | |
platform: x64 | |
- name: Build core library cli image | |
id: push-worker | |
uses: docker/build-push-action@v5 | |
with: | |
context: . | |
file: docker/Dockerfile | |
platforms: linux/amd64,linux/arm64 | |
push: false | |
build-args: | | |
PACKAGE_REGISTRY=${{ env.PACKAGE_REGISTRY }} | |
PYTHON_INDEX_URL=${{ env.PYTHON_INDEX_URL }} |