Skip to content

Commit dbf51d0

Browse files
authored
GitHub actions patch 2 (0-8-4#65)
* Create template docker-image.yml * add: script that automatically build docker image and push to DockerHub * add: GitHub Actions Badge * fix: GitHub Actions 变量名出错 * fix: Python 版本号 * imp: 修改 Actions脚本名称
1 parent 5652ee9 commit dbf51d0

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/docker-image.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# This script is used to automatically build docker image and
55
# push to DockerHub when every new release is published
66

7-
name: Docker Image CI
7+
name: DockerHub CI
88

99
on:
1010
release:
@@ -30,8 +30,8 @@ jobs:
3030
name: Login to Docker Hub
3131
uses: docker/login-action@v2
3232
with:
33-
username: ${{ secret.DOCKERHUB_USERNAME }}
34-
password: ${{ secret.DOCKERHUB_TOKEN }}
33+
username: ${{ secrets.DOCKERHUB_USERNAME }}
34+
password: ${{ secrets.DOCKERHUB_TOKEN }}
3535

3636
-
3737
name: Build and push

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# MIUI Task
22
一个适用于 小米社区 4.0 自动完成成长值任务的脚本
33

4-
[![996.icu](https://img.shields.io/badge/link-996.icu-red.svg)](https://996.icu) ![GitHub](https://img.shields.io/github/license/0-8-4/miui-auto-tasks) ![python](https://img.shields.io/badge/python-3.6+-blue)
4+
[![996.icu](https://img.shields.io/badge/link-996.icu-red.svg)](https://996.icu) ![GitHub](https://img.shields.io/github/license/0-8-4/miui-auto-tasks)
5+
![Python](https://img.shields.io/badge/python-3.7+-blue) ![DockerHub](https://github.com/0-8-4/miui-auto-tasks/actions/workflows/docker-image.yml/badge.svg)
56

67

78
## **关于项目**:
89

9-
`東雲研究所` 的某位大佬编写
10-
由大佬授权 `0-8-4` 使用 `MIT` 开源
11-
`0-8-4``TardisLX` 会进行基础维护
10+
`東雲研究所` 的某位大佬启发
11+
最初的源码由大佬授权 `0-8-4` 使用 `MIT` 开源
12+
项目初期由`0-8-4``TardisLX` 进行维护,现已逐渐转为社区驱动
1213
我们认为小米社区无权在无任何回报的情况下强制要求内测用户完成 KPI 任务,因此诞生了这个脚本
1314

1415

0 commit comments

Comments
 (0)