From 27c41781f9f136bc4afd03acd87f35eadaea4686 Mon Sep 17 00:00:00 2001 From: infinitycat Date: Tue, 9 Dec 2025 10:02:19 +0800 Subject: [PATCH 1/4] =?UTF-8?q?test:=20=E6=9B=B4=E6=96=B0=E5=AE=9A?= =?UTF-8?q?=E6=97=B6=E4=BB=BB=E5=8A=A1=E7=9A=84=20cron=20=E8=A1=A8?= =?UTF-8?q?=E8=BE=BE=E5=BC=8F=E4=B8=BA=E6=AF=8F10=E5=88=86=E9=92=9F?= =?UTF-8?q?=E6=89=A7=E8=A1=8C=E4=B8=80=E6=AC=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker-image-dev.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-image-dev.yml b/.github/workflows/docker-image-dev.yml index dc43f1ae..5f4eadd0 100644 --- a/.github/workflows/docker-image-dev.yml +++ b/.github/workflows/docker-image-dev.yml @@ -2,7 +2,7 @@ name: Docker Build and Push (Dev) on: schedule: - - cron: '0 0 * * *' + - cron: "*/10 * * * *" # every 10 minutes # push: # branches: # - dev From 8d28f26b7daa95a560a05d96e5699423e8d515db Mon Sep 17 00:00:00 2001 From: infinitycat Date: Tue, 9 Dec 2025 11:00:44 +0800 Subject: [PATCH 2/4] =?UTF-8?q?test:=20=E7=BB=9F=E4=B8=80=20cron=20?= =?UTF-8?q?=E8=A1=A8=E8=BE=BE=E5=BC=8F=E7=9A=84=E5=BC=95=E5=8F=B7=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker-image-dev.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-image-dev.yml b/.github/workflows/docker-image-dev.yml index 5f4eadd0..55cffbf0 100644 --- a/.github/workflows/docker-image-dev.yml +++ b/.github/workflows/docker-image-dev.yml @@ -2,7 +2,7 @@ name: Docker Build and Push (Dev) on: schedule: - - cron: "*/10 * * * *" # every 10 minutes + - cron: '*/10 * * * *' # every 10 minutes # push: # branches: # - dev From dec4e758fa824eb94521769214743350b8c2a051 Mon Sep 17 00:00:00 2001 From: infinitycat Date: Tue, 9 Dec 2025 17:33:43 +0800 Subject: [PATCH 3/4] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E5=AE=9A=E6=97=B6?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E7=9A=84=20cron=20=E8=A1=A8=E8=BE=BE?= =?UTF-8?q?=E5=BC=8F=E4=B8=BA=E6=AF=8F=E5=A4=A9=E6=89=A7=E8=A1=8C=E4=B8=80?= =?UTF-8?q?=E6=AC=A1=EF=BC=8C=E5=B9=B6=E8=B0=83=E6=95=B4=20Docker=20?= =?UTF-8?q?=E9=95=9C=E5=83=8F=E6=A0=87=E7=AD=BE=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker-image-dev.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-image-dev.yml b/.github/workflows/docker-image-dev.yml index 55cffbf0..47c39406 100644 --- a/.github/workflows/docker-image-dev.yml +++ b/.github/workflows/docker-image-dev.yml @@ -2,8 +2,7 @@ name: Docker Build and Push (Dev) on: schedule: - - cron: '*/10 * * * *' # every 10 minutes - # push: + - cron: '0 0 * * *' # every day at midnight UTC # branches: # - dev workflow_dispatch: # 允许手动触发工作流 @@ -147,8 +146,8 @@ jobs: with: images: ${{ secrets.DOCKERHUB_USERNAME }}/maibot tags: | - type=ref,event=branch - type=sha,prefix=${{ github.ref_name }}-,enable=${{ github.ref_type == 'branch' }} + type=raw,value=dev + type=schedule,pattern=dev-{{date 'YYMMDD'}} - name: Create and Push Manifest run: | From c626162fc14e2e78353acbe0906a7e22b9b19f28 Mon Sep 17 00:00:00 2001 From: infinitycat Date: Tue, 9 Dec 2025 17:43:59 +0800 Subject: [PATCH 4/4] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20Docker=20?= =?UTF-8?q?=E9=95=9C=E5=83=8F=E6=9E=84=E5=BB=BA=E5=B7=A5=E4=BD=9C=E6=B5=81?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=20maim=5Fmessage=20=E5=85=8B=E9=9A=86?= =?UTF-8?q?=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker-image-dev.yml | 12 ++++++------ .github/workflows/docker-image-main.yml | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/docker-image-dev.yml b/.github/workflows/docker-image-dev.yml index 47c39406..63fdafee 100644 --- a/.github/workflows/docker-image-dev.yml +++ b/.github/workflows/docker-image-dev.yml @@ -27,11 +27,11 @@ jobs: fetch-depth: 0 # Clone required dependencies - - name: Clone maim_message - run: git clone https://github.com/MaiM-with-u/maim_message maim_message + # - name: Clone maim_message + # run: git clone https://github.com/MaiM-with-u/maim_message maim_message - name: Clone lpmm - run: git clone https://github.com/MaiM-with-u/MaiMBot-LPMM.git MaiMBot-LPMM + run: git clone https://github.com/Mai-with-u/MaiMBot-LPMM.git MaiMBot-LPMM - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -81,11 +81,11 @@ jobs: fetch-depth: 0 # Clone required dependencies - - name: Clone maim_message - run: git clone https://github.com/MaiM-with-u/maim_message maim_message + # - name: Clone maim_message + # run: git clone https://github.com/MaiM-with-u/maim_message maim_message - name: Clone lpmm - run: git clone https://github.com/MaiM-with-u/MaiMBot-LPMM.git MaiMBot-LPMM + run: git clone https://github.com/Mai-with-u/MaiMBot-LPMM.git MaiMBot-LPMM - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 diff --git a/.github/workflows/docker-image-main.yml b/.github/workflows/docker-image-main.yml index 25dc67ea..3d9b14ab 100644 --- a/.github/workflows/docker-image-main.yml +++ b/.github/workflows/docker-image-main.yml @@ -31,11 +31,11 @@ jobs: fetch-depth: 0 # Clone required dependencies - - name: Clone maim_message - run: git clone https://github.com/MaiM-with-u/maim_message maim_message + # - name: Clone maim_message + # run: git clone https://github.com/MaiM-with-u/maim_message maim_message - name: Clone lpmm - run: git clone https://github.com/MaiM-with-u/MaiMBot-LPMM.git MaiMBot-LPMM + run: git clone https://github.com/Mai-with-u/MaiMBot-LPMM.git MaiMBot-LPMM - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -84,11 +84,11 @@ jobs: fetch-depth: 0 # Clone required dependencies - - name: Clone maim_message - run: git clone https://github.com/MaiM-with-u/maim_message maim_message + # - name: Clone maim_message + # run: git clone https://github.com/MaiM-with-u/maim_message maim_message - name: Clone lpmm - run: git clone https://github.com/MaiM-with-u/MaiMBot-LPMM.git MaiMBot-LPMM + run: git clone https://github.com/Mai-with-u/MaiMBot-LPMM.git MaiMBot-LPMM - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3