定时执行

This commit is contained in:
tech-shrimp 2024-06-10 11:49:19 +08:00
parent 84d1ecaa29
commit 4fc064762a
2 changed files with 10 additions and 5 deletions

View File

@ -38,11 +38,6 @@ Fork本项目<br>
![](doc/images.png) ![](doc/images.png)
文件提交后自动进入Github Action构建 文件提交后自动进入Github Action构建
### 多架构
阿里镜像服务个人版并不提供多架构功能需要在images.txt中用 --platform=xxxxx手动指定镜像架构
指定后的架构会以前缀的形式放在镜像名字前面
![](doc/多架构.png)
### 使用镜像 ### 使用镜像
回到阿里云,镜像仓库,点击任意镜像,可查看镜像状态。(可以改成公开,拉取镜像免登录) 回到阿里云,镜像仓库,点击任意镜像,可查看镜像状态。(可以改成公开,拉取镜像免登录)
![](doc/开始使用.png) ![](doc/开始使用.png)
@ -54,3 +49,13 @@ docker pull registry.cn-hangzhou.aliyuncs.com/shrimp-images/alpine
registry.cn-hangzhou.aliyuncs.com 即 ALIYUN_REGISTRY<br> registry.cn-hangzhou.aliyuncs.com 即 ALIYUN_REGISTRY<br>
shrimp-images 即 ALIYUN_NAME_SPACE<br> shrimp-images 即 ALIYUN_NAME_SPACE<br>
alpine 即阿里云中显示的镜像名<br> alpine 即阿里云中显示的镜像名<br>
### 多架构
阿里镜像服务个人版并不提供多架构功能需要在images.txt中用 --platform=xxxxx手动指定镜像架构
指定后的架构会以前缀的形式放在镜像名字前面
![](doc/多架构.png)
### 定时执行
修改/.github/workflows/docker.yaml文件
添加 schedule即可定时执行(此处cron使用UTC时区)
![](doc/定时执行.png)

BIN
doc/定时执行.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB