Skip to content

Commit

Permalink
定时执行
Browse files Browse the repository at this point in the history
  • Loading branch information
tech-shrimp committed Jun 10, 2024
1 parent 84d1eca commit 4fc0647
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ Fork本项目<br>
![](doc/images.png)
文件提交后,自动进入Github Action构建

### 多架构
阿里镜像服务个人版并不提供多架构功能,需要在images.txt中用 --platform=xxxxx手动指定镜像架构
指定后的架构会以前缀的形式放在镜像名字前面
![](doc/多架构.png)

### 使用镜像
回到阿里云,镜像仓库,点击任意镜像,可查看镜像状态。(可以改成公开,拉取镜像免登录)
![](doc/开始使用.png)
Expand All @@ -54,3 +49,13 @@ docker pull registry.cn-hangzhou.aliyuncs.com/shrimp-images/alpine
registry.cn-hangzhou.aliyuncs.com 即 ALIYUN_REGISTRY<br>
shrimp-images 即 ALIYUN_NAME_SPACE<br>
alpine 即阿里云中显示的镜像名<br>

### 多架构
阿里镜像服务个人版并不提供多架构功能,需要在images.txt中用 --platform=xxxxx手动指定镜像架构
指定后的架构会以前缀的形式放在镜像名字前面
![](doc/多架构.png)

### 定时执行
修改/.github/workflows/docker.yaml文件
添加 schedule即可定时执行(此处cron使用UTC时区)
![](doc/定时执行.png)
Binary file added doc/定时执行.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4fc0647

Please sign in to comment.