Skip to content

Commit

Permalink
chore: xiaoya proxy version control
Browse files Browse the repository at this point in the history
  • Loading branch information
DDSRem committed Jul 24, 2024
1 parent 98e297e commit 21f0694
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/xiaoya_proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ jobs:

-
name: Build xiaoya_proxy.jar
id: prepare
id: build_jar
run: |
cd xiaoya_proxy
version=$(cat pom.xml | grep -A1 xiaoya_proxy | grep version | perl -pe "s|.*((\d+\.?){3,}).*|\1|")
echo "XIAOYA_PROXY_VERSION=${version}" >> $GITHUB_ENV
mvn clean package
-
Expand All @@ -33,6 +35,7 @@ jobs:
images: ${{ secrets.DOCKER_USERNAME }}/xiaoya-proxy
tags: |
type=raw,value=latest
type=raw,value=${{ env.XIAOYA_PROXY_VERSION }}
-
name: Set Up QEMU
Expand Down Expand Up @@ -73,4 +76,4 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}
repository: ${{ secrets.DOCKER_USERNAME }}/xiaoya-proxy
short-description: 小雅Alist的相关周边
readme-filepath: ./README.md
readme-filepath: ./xiaoya_proxy/README.md
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ Docker镜像源选择 -> 9 6
| Onelist ||||
| 小雅元数据爬虫(xiaoya-emd) ||||
| 小雅Cron容器(xiaoya-cron) ||||
| 小雅代理容器(xiaoya-proxy) ||||

| 系统名称 | main.sh | emby_config_editor.sh |
| :-------------: | :-----: | :-------------------: |
Expand Down
15 changes: 14 additions & 1 deletion xiaoya_proxy/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
# Xiaoya Proxy
# Xiaoya Proxy

小雅容器代理工具,确保 UA 统一。

## Run

```shell
docker run -d \
--name=xiaoya-proxy \
--restart=always \
--net=host \
-e TZ=Asia/Shanghai \
ddsderek/xiaoya-proxy:latest
```

0 comments on commit 21f0694

Please sign in to comment.