From 899cc7c737c9e6b03c9a22277b6508f1bceb1902 Mon Sep 17 00:00:00 2001 From: jorbenzhu Date: Mon, 18 Mar 2024 17:20:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0README=E5=BE=BD=E7=AB=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/dockerbuild.yml | 2 +- README.md | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dockerbuild.yml b/.github/workflows/dockerbuild.yml index 1d92336..09738d4 100644 --- a/.github/workflows/dockerbuild.yml +++ b/.github/workflows/dockerbuild.yml @@ -1,4 +1,4 @@ -name: Create and publish a Docker image +name: build on: push: diff --git a/README.md b/README.md index 7ede6a8..07bcd4e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,12 @@ # rsync-object-storage 一个同步工具,可以监听本地文件变更,实时同步到远端(s3)对象存储 +[![Build]][build_url] +[![Version]][tag_url] +[![Size]][hub_url] +[![Pulls]][hub_url] +[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg)](http://copyfree.org) + ### 功能点 - 实时同步 @@ -104,4 +110,13 @@ sudo sysctl fs.inotify.max_user_watches=102400 | sudo tee -a /etc/sysctl.conf # 查询是否生效 cat /proc/sys/fs/inotify/max_user_watches -``` \ No newline at end of file +``` + +[build_url]: https://github.com/jorben/rsync-object-storage/ +[hub_url]: https://hub.docker.com/r/jorbenzhu/rsync-object-storage/ +[tag_url]: https://hub.docker.com/r/jorbenzhu/rsync-object-storage/tags + +[Build]: https://github.com/jorben/rsync-object-storage/actions/workflows/dockerbuild.yml/badge.svg +[Size]: https://img.shields.io/docker/image-size/jorbenzhu/rsync-object-storage/latest?color=066da5&label=size +[Pulls]: https://img.shields.io/docker/pulls/jorbenzhu/rsync-object-storage.svg?style=flat&label=pulls&logo=docker +[Version]: https://img.shields.io/docker/v/jorbenzhu/rsync-object-storage/latest?arch=amd64&sort=semver&color=066da5 \ No newline at end of file