mirror of
https://github.com/xubiaolin/docker-zerotier-planet.git
synced 2025-01-22 20:58:14 -05:00
Update image-build.yml
This commit is contained in:
parent
7afe3809b9
commit
56a5861143
12
.github/workflows/image-build.yml
vendored
12
.github/workflows/image-build.yml
vendored
@ -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:
|
||||
@ -23,7 +26,6 @@ jobs:
|
||||
run : |
|
||||
sh copy.sh
|
||||
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user