mirror of https://github.com/Mai-with-u/MaiBot.git
fix: 修正 Docker 工作流中的 maim_message 克隆链接以及镜像tag问题
parent
1a3ae81cfc
commit
4de8da5d00
|
|
@ -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: |
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue