Skip to content

Commit

Permalink
GitHub actions patch 2 (#65)
Browse files Browse the repository at this point in the history
* 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脚本名称
  • Loading branch information
0-8-4 authored Nov 28, 2022
1 parent 5652ee9 commit dbf51d0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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 任务,因此诞生了这个脚本


Expand Down

0 comments on commit dbf51d0

Please sign in to comment.