fix: 更新定时任务的 cron 表达式为每天执行一次,并调整 Docker 镜像标签格式

pull/1431/head
infinitycat 2025-12-09 17:33:43 +08:00
parent 8d28f26b7d
commit dec4e758fa
No known key found for this signature in database
GPG Key ID: 8557D2947688521D
1 changed files with 3 additions and 4 deletions

View File

@ -2,8 +2,7 @@ name: Docker Build and Push (Dev)
on: on:
schedule: schedule:
- cron: '*/10 * * * *' # every 10 minutes - cron: '0 0 * * *' # every day at midnight UTC
# push:
# branches: # branches:
# - dev # - dev
workflow_dispatch: # 允许手动触发工作流 workflow_dispatch: # 允许手动触发工作流
@ -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: |