Update image-build.yml

This commit is contained in:
chenxudong2020 2024-10-13 07:42:12 +08:00 committed by GitHub
parent 7afe3809b9
commit 56a5861143
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,11 +1,14 @@
name: Build and Push Docker Image
on:
push:
branches:
- master
schedule:
- cron: '0 0 * * *' # 每天的 0 点执行
- cron: '0 18 * * 0,2,4,6'
workflow_dispatch:
inputs:
clean_cache:
description: 'Clear caches'
required: false
type: boolean
jobs:
build:
@ -21,8 +24,7 @@ jobs:
- name: Modify
run : |
sh copy.sh
sh copy.sh
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2