GitHub actions patch 2 (#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脚本名称
master
0-8-4 2022-11-28 14:32:44 +11:00 committed by GitHub
parent 5652ee997f
commit dbf51d0cc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 7 deletions

View File

@ -4,7 +4,7 @@
# This script is used to automatically build docker image and
# push to DockerHub when every new release is published
name: Docker Image CI
name: DockerHub CI
on:
release:
@ -30,8 +30,8 @@ jobs:
name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secret.DOCKERHUB_USERNAME }}
password: ${{ secret.DOCKERHUB_TOKEN }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push

View File

@ -1,14 +1,15 @@
# MIUI Task
一个适用于 小米社区 4.0 自动完成成长值任务的脚本
[![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)
[![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.7+-blue) ![DockerHub](https://github.com/0-8-4/miui-auto-tasks/actions/workflows/docker-image.yml/badge.svg)
## **关于项目**:
`東雲研究所` 的某位大佬编写
由大佬授权 `0-8-4` 使用 `MIT` 开源
`0-8-4``TardisLX` 会进行基础维护
受`東雲研究所` 的某位大佬启发
最初的源码由大佬授权 `0-8-4` 使用 `MIT` 开源
项目初期由`0-8-4` 和 `TardisLX` 进行维护,现已逐渐转为社区驱动
我们认为小米社区无权在无任何回报的情况下强制要求内测用户完成 KPI 任务,因此诞生了这个脚本