🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org
Python agentai-societiesartificial-intelligencecommunicative-aicooperative-aideep-learninglarge-language-modelsmulti-agent-systemsnatural-language-processing
add docker into CICD
Isaac Jinee5e6307a980
diff --git a/.github/workflows/publish_docker_image.yml b/.github/workflows/publish_docker_image.ymlnew file mode 100644index 000000000..274b4aa23--- /dev/null+++ b/.github/workflows/publish_docker_image.yml@@ -0,0 +1,30 @@+name: Publish Docker Image++on:+ release:+ types: [published]++jobs:+ build-and-push:+ runs-on: ubuntu-latest++ steps:+ - name: Checkout code+ uses: actions/checkout@v3++ - name: Set up Docker Buildx+ uses: docker/setup-buildx-action@v3++ - name: Log in to GHCR+ uses: docker/login-action@v3+ with:+ registry: ghcr.io+ username: ${{ github.actor }}+ password: ${{ secrets.GHCR_PACKAGE_PAT }}++ - name: Build and push Docker image+ run: |+ docker buildx build --platform linux/amd64,linux/arm64 \+ --tag ghcr.io/camel-ai/camel:${{ github.ref_name }} \+ --sbom=false --provenance=false \+ --push .