Merge branch 'Mai-with-u:main' into main

pull/1434/head
Dawn ARC 2025-12-14 16:41:06 +08:00 committed by GitHub
commit 4340f90c75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 16 deletions

View File

@ -2,8 +2,7 @@ name: Docker Build and Push (Dev)
on: on:
schedule: schedule:
- cron: '0 0 * * *' - cron: '0 0 * * *' # every day at midnight UTC
# push:
# branches: # branches:
# - dev # - dev
workflow_dispatch: # 允许手动触发工作流 workflow_dispatch: # 允许手动触发工作流
@ -28,11 +27,11 @@ jobs:
fetch-depth: 0 fetch-depth: 0
# Clone required dependencies # Clone required dependencies
- name: Clone maim_message # - name: Clone maim_message
run: git clone https://github.com/MaiM-with-u/maim_message maim_message # run: git clone https://github.com/MaiM-with-u/maim_message maim_message
- name: Clone lpmm - 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 - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
@ -82,11 +81,11 @@ jobs:
fetch-depth: 0 fetch-depth: 0
# Clone required dependencies # Clone required dependencies
- name: Clone maim_message # - name: Clone maim_message
run: git clone https://github.com/MaiM-with-u/maim_message maim_message # run: git clone https://github.com/MaiM-with-u/maim_message maim_message
- name: Clone lpmm - 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 - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
@ -147,8 +146,8 @@ jobs:
with: with:
images: ${{ secrets.DOCKERHUB_USERNAME }}/maibot images: ${{ secrets.DOCKERHUB_USERNAME }}/maibot
tags: | tags: |
type=ref,event=branch type=raw,value=dev
type=sha,prefix=${{ github.ref_name }}-,enable=${{ github.ref_type == 'branch' }} type=schedule,pattern=dev-{{date 'YYMMDD'}}
- name: Create and Push Manifest - name: Create and Push Manifest
run: | run: |

View File

@ -31,11 +31,11 @@ jobs:
fetch-depth: 0 fetch-depth: 0
# Clone required dependencies # Clone required dependencies
- name: Clone maim_message # - name: Clone maim_message
run: git clone https://github.com/MaiM-with-u/maim_message maim_message # run: git clone https://github.com/MaiM-with-u/maim_message maim_message
- name: Clone lpmm - 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 - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
@ -84,11 +84,11 @@ jobs:
fetch-depth: 0 fetch-depth: 0
# Clone required dependencies # Clone required dependencies
- name: Clone maim_message # - name: Clone maim_message
run: git clone https://github.com/MaiM-with-u/maim_message maim_message # run: git clone https://github.com/MaiM-with-u/maim_message maim_message
- name: Clone lpmm - 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 - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3