diff --git a/.gitea/workflows/docker-build.yaml b/.gitea/workflows/docker-build.yaml index d328a20..b38d6d7 100644 --- a/.gitea/workflows/docker-build.yaml +++ b/.gitea/workflows/docker-build.yaml @@ -15,6 +15,9 @@ jobs: - name: Checkout uses: actions/checkout@v6 + - name: Clone HKUDS/nanobot source + run: git clone --depth 1 https://github.com/HKUDS/nanobot.git external-nanobot + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v4 @@ -39,8 +42,8 @@ jobs: - name: Build and push uses: docker/build-push-action@v7 with: - context: nanobot - file: nanobot/Dockerfile + context: external-nanobot + file: external-nanobot/Dockerfile push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}