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 name: Build and Push Docker Image
on: on:
push:
branches:
- master
schedule: 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: jobs:
build: build:
@ -23,7 +26,6 @@ jobs:
run : | run : |
sh copy.sh sh copy.sh
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2 uses: docker/setup-buildx-action@v2