From ea2bbe33930db80a3d5ec751fa76bfded8aab501 Mon Sep 17 00:00:00 2001 From: Akruidenberg Date: Sun, 2 Aug 2020 12:15:56 +0200 Subject: [PATCH 001/100] add mailx to dockerfile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without the package mailx, i get this error in my log. manually installing this package in this container fixed this problem. I´ve added the package to the dockerfile. Test of to ********* produced unexpected output (56 bytes) to STDOUT/STDERR: , /etc/smartd_warning.sh: exec: line 192: mail: not found, Executing test of to ********* ... also, ssmtp is not maintained anymore. Consider moving to msmtp. --- smartmontools/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smartmontools/Dockerfile b/smartmontools/Dockerfile index ab89303d..ccc84c63 100644 --- a/smartmontools/Dockerfile +++ b/smartmontools/Dockerfile @@ -5,6 +5,6 @@ ARG VERSION # Let's roll RUN set -xe && \ apk add --no-cache \ - smartmontools ssmtp + smartmontools ssmtp mailx ENTRYPOINT ["/usr/sbin/smartd", "--debug"] From 2d1de391aa91ce9bb6118af6d32da32e763539c5 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Wed, 5 Aug 2020 07:42:20 +0800 Subject: [PATCH 002/100] libtorrent-rasterbar: 1.2.8 --- .github/workflows/libtorrent-rasterbar.yml | 2 +- libtorrent-rasterbar/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/libtorrent-rasterbar.yml b/.github/workflows/libtorrent-rasterbar.yml index 0342f342..c100026f 100644 --- a/.github/workflows/libtorrent-rasterbar.yml +++ b/.github/workflows/libtorrent-rasterbar.yml @@ -12,7 +12,7 @@ on: env: DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - VERSION: 1.2.7 + VERSION: 1.2.8 jobs: build386: diff --git a/libtorrent-rasterbar/Dockerfile b/libtorrent-rasterbar/Dockerfile index de3e24e0..8facf4a2 100644 --- a/libtorrent-rasterbar/Dockerfile +++ b/libtorrent-rasterbar/Dockerfile @@ -17,7 +17,7 @@ RUN set -ex && \ tar && \ mkdir -p /tmp/libtorrent-rasterbar && \ cd /tmp/libtorrent-rasterbar/ && \ - curl -sSL https://github.com/arvidn/libtorrent/releases/download/libtorrent_${VERSION//./_}/libtorrent-rasterbar-$VERSION.tar.gz | tar xz --strip 1 && \ + curl -sSL https://github.com/arvidn/libtorrent/releases/download/libtorrent-$VERSION/libtorrent-rasterbar-$VERSION.tar.gz | tar xz --strip 1 && \ ./configure --prefix=/usr && \ make -j$(nproc) && make install-strip && \ cd / && \ From b0e295e7c575b8ccb284107a5793d7f4d73f9e07 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Wed, 5 Aug 2020 17:01:34 +0800 Subject: [PATCH 003/100] qbittorrent: libtorrent-rasterbar 1.2.8 --- qbittorrent/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbittorrent/Dockerfile b/qbittorrent/Dockerfile index f9408a3b..2ed176c7 100644 --- a/qbittorrent/Dockerfile +++ b/qbittorrent/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$TARGETPLATFORM gists/libtorrent-rasterbar:1.2.7 +FROM --platform=$TARGETPLATFORM gists/libtorrent-rasterbar:1.2.8 ARG VERSION From 3f030d330c707ed8c398af50fd0c22c95878cdf2 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Fri, 7 Aug 2020 12:21:38 +0800 Subject: [PATCH 004/100] v2ray: 4.27.0 --- .github/workflows/v2ray.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/v2ray.yml b/.github/workflows/v2ray.yml index f500bb6f..d303ede3 100644 --- a/.github/workflows/v2ray.yml +++ b/.github/workflows/v2ray.yml @@ -18,7 +18,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=4.26.0 + [[ ! -n $VERSION ]] && VERSION=4.27.0 IMAGE_NAME=v2ray DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ From 21a272cb0c10d2e6e5885ef631ba040f4f1e8dfe Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Fri, 21 Aug 2020 07:56:36 +0800 Subject: [PATCH 005/100] libtorrent-rasterbar: 1.2.9 && qbittorrent: rebuild --- .github/workflows/libtorrent-rasterbar.yml | 2 +- libtorrent-rasterbar/Dockerfile | 9 ++------- qbittorrent/Dockerfile | 11 ++++------- 3 files changed, 7 insertions(+), 15 deletions(-) diff --git a/.github/workflows/libtorrent-rasterbar.yml b/.github/workflows/libtorrent-rasterbar.yml index c100026f..c29f120f 100644 --- a/.github/workflows/libtorrent-rasterbar.yml +++ b/.github/workflows/libtorrent-rasterbar.yml @@ -12,7 +12,7 @@ on: env: DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - VERSION: 1.2.8 + VERSION: 1.2.9 jobs: build386: diff --git a/libtorrent-rasterbar/Dockerfile b/libtorrent-rasterbar/Dockerfile index 8facf4a2..12ae79cf 100644 --- a/libtorrent-rasterbar/Dockerfile +++ b/libtorrent-rasterbar/Dockerfile @@ -5,20 +5,15 @@ ARG VERSION RUN set -ex && \ apk add --no-cache --virtual .build-deps \ boost-dev \ - boost-system \ - boost-thread \ - ca-certificates \ curl \ g++ \ - libressl-dev \ + openssl-dev \ make \ - qt5-qtbase \ - qt5-qttools-dev \ tar && \ mkdir -p /tmp/libtorrent-rasterbar && \ cd /tmp/libtorrent-rasterbar/ && \ curl -sSL https://github.com/arvidn/libtorrent/releases/download/libtorrent-$VERSION/libtorrent-rasterbar-$VERSION.tar.gz | tar xz --strip 1 && \ - ./configure --prefix=/usr && \ + ./configure CXXFLAGS="-std=c++17" --prefix=/usr --disable-dependency-tracking && \ make -j$(nproc) && make install-strip && \ cd / && \ runDeps="$( \ diff --git a/qbittorrent/Dockerfile b/qbittorrent/Dockerfile index 2ed176c7..6292cdc5 100644 --- a/qbittorrent/Dockerfile +++ b/qbittorrent/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$TARGETPLATFORM gists/libtorrent-rasterbar:1.2.8 +FROM --platform=$TARGETPLATFORM gists/libtorrent-rasterbar:latest ARG VERSION @@ -11,13 +11,10 @@ RUN set -ex && \ apk add --no-cache su-exec && \ apk add --no-cache --virtual .build-deps \ boost-dev \ - boost-system \ - boost-thread \ - ca-certificates \ curl \ g++ \ libcap \ - libressl-dev \ + openssl-dev \ make \ qt5-qtbase \ qt5-qttools-dev \ @@ -25,8 +22,8 @@ RUN set -ex && \ mkdir -p /tmp/qbittorrent && \ cd /tmp/qbittorrent && \ curl -sSL https://github.com/qbittorrent/qBittorrent/archive/release-$VERSION.tar.gz | tar xz --strip 1 && \ - ./configure --prefix=/usr --disable-gui --disable-stacktrace && \ - make -j$(nproc) && make install && \ + ./configure CXXFLAGS="-std=c++17" --prefix=/usr --disable-dependency-tracking --disable-gui --disable-qt-dbus && \ + make -j$(nproc) install && \ # Set capability to bind privileged ports as non-root user for qbittorrent-nox setcap 'cap_net_bind_service=+ep' /usr/bin/qbittorrent-nox && \ cd / && \ From d6673e5c25b4e47be2f3960d8500217d009129d7 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 29 Aug 2020 11:11:20 +0800 Subject: [PATCH 006/100] v2ray: 4.27.4 --- .github/workflows/v2ray.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/v2ray.yml b/.github/workflows/v2ray.yml index d303ede3..d0b470c1 100644 --- a/.github/workflows/v2ray.yml +++ b/.github/workflows/v2ray.yml @@ -18,7 +18,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=4.27.0 + [[ ! -n $VERSION ]] && VERSION=4.27.4 IMAGE_NAME=v2ray DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ From 52de68232cac672d3277376ea10fdebda7cb61ea Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Wed, 2 Sep 2020 18:16:08 +0800 Subject: [PATCH 007/100] v2ray: 4.27.5 --- .github/workflows/v2ray.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/v2ray.yml b/.github/workflows/v2ray.yml index d0b470c1..b840caa0 100644 --- a/.github/workflows/v2ray.yml +++ b/.github/workflows/v2ray.yml @@ -18,7 +18,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=4.27.4 + [[ ! -n $VERSION ]] && VERSION=4.27.5 IMAGE_NAME=v2ray DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ From e3888f6ad9bf7c20ecc872c6ebe916ba6b0efae0 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Thu, 3 Sep 2020 22:55:56 +0800 Subject: [PATCH 008/100] libtorrent-rasterbar: 1.2.10 --- .github/workflows/libtorrent-rasterbar.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/libtorrent-rasterbar.yml b/.github/workflows/libtorrent-rasterbar.yml index c29f120f..6ae29689 100644 --- a/.github/workflows/libtorrent-rasterbar.yml +++ b/.github/workflows/libtorrent-rasterbar.yml @@ -12,7 +12,7 @@ on: env: DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - VERSION: 1.2.9 + VERSION: 1.2.10 jobs: build386: From 432060af7c072c2a3e37f4f309c401507487471b Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sun, 6 Sep 2020 18:42:20 +0800 Subject: [PATCH 009/100] trojan-go: 0.8.2 --- .github/workflows/trojan-go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/trojan-go.yml b/.github/workflows/trojan-go.yml index cbdbf258..4e23827c 100644 --- a/.github/workflows/trojan-go.yml +++ b/.github/workflows/trojan-go.yml @@ -18,7 +18,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=0.8.1 + [[ ! -n $VERSION ]] && VERSION=0.8.2 IMAGE_NAME=trojan-go DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ From 0f07a49d3bceb7de4d5cf77489d8e2fe6606279a Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Fri, 11 Sep 2020 15:29:53 +0800 Subject: [PATCH 010/100] v2ray: 4.28.0 --- .github/workflows/v2ray.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/v2ray.yml b/.github/workflows/v2ray.yml index b840caa0..9c21680c 100644 --- a/.github/workflows/v2ray.yml +++ b/.github/workflows/v2ray.yml @@ -18,7 +18,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=4.27.5 + [[ ! -n $VERSION ]] && VERSION=4.28.0 IMAGE_NAME=v2ray DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ From 4e150650e5b5ec6f43a81f6695f9359c437f747b Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 12 Sep 2020 18:11:56 +0800 Subject: [PATCH 011/100] v2ray: 4.28.1 --- .github/workflows/v2ray.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/v2ray.yml b/.github/workflows/v2ray.yml index 9c21680c..729582e1 100644 --- a/.github/workflows/v2ray.yml +++ b/.github/workflows/v2ray.yml @@ -18,7 +18,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=4.28.0 + [[ ! -n $VERSION ]] && VERSION=4.28.1 IMAGE_NAME=v2ray DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ From 3eab37a4bf000087223b010ed49a136ba24d488f Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Tue, 15 Sep 2020 11:19:52 +0800 Subject: [PATCH 012/100] shadowsocks-libev: 3.3.5 --- .github/workflows/shadowsocks-libev.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/shadowsocks-libev.yml b/.github/workflows/shadowsocks-libev.yml index c29629ff..53c6350d 100644 --- a/.github/workflows/shadowsocks-libev.yml +++ b/.github/workflows/shadowsocks-libev.yml @@ -18,7 +18,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=3.3.4 + [[ ! -n $VERSION ]] && VERSION=3.3.5 IMAGE_NAME=shadowsocks-libev DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ From 6734ccc315ce055ad3a095e67ce80c5dad6eebc1 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Tue, 15 Sep 2020 11:44:11 +0800 Subject: [PATCH 013/100] libev+v2ray update --- shadowsocks/libev+v2ray/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shadowsocks/libev+v2ray/Dockerfile b/shadowsocks/libev+v2ray/Dockerfile index 91cac311..7c912bea 100644 --- a/shadowsocks/libev+v2ray/Dockerfile +++ b/shadowsocks/libev+v2ray/Dockerfile @@ -1,6 +1,6 @@ -FROM gists/v2ray-plugin:1.3.0 AS builder +FROM gists/v2ray-plugin:latest AS builder -FROM gists/shadowsocks-libev:3.3.4 +FROM gists/shadowsocks-libev:latest ENV SERVER_ADDR=0.0.0.0 \ SERVER_PORT=8388 \ From bbc697312413d98fcb07fd4f58f098498cb44a61 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Fri, 18 Sep 2020 16:25:59 +0800 Subject: [PATCH 014/100] v2ray: 4.28.2 --- .github/workflows/v2ray.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/v2ray.yml b/.github/workflows/v2ray.yml index 729582e1..68c514f2 100644 --- a/.github/workflows/v2ray.yml +++ b/.github/workflows/v2ray.yml @@ -18,7 +18,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=4.28.1 + [[ ! -n $VERSION ]] && VERSION=4.28.2 IMAGE_NAME=v2ray DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ From 1bdc5b204c4f68eec9cc03ac0ff2cffe6432d87b Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sun, 20 Sep 2020 07:56:57 +0800 Subject: [PATCH 015/100] frp: 0.34.0 --- .github/workflows/frp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/frp.yml b/.github/workflows/frp.yml index 6c76dd6b..4ab87716 100644 --- a/.github/workflows/frp.yml +++ b/.github/workflows/frp.yml @@ -18,7 +18,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=0.33.0 + [[ ! -n $VERSION ]] && VERSION=0.34.0 IMAGE_NAME=frp DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ From a1ec1ad8e889a85ac027eeb727f5501c82f52476 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Tue, 22 Sep 2020 15:53:40 +0800 Subject: [PATCH 016/100] docker-compose: 1.27.3 --- .github/workflows/docker-compose-bin.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-compose-bin.yml b/.github/workflows/docker-compose-bin.yml index 07e4d1e9..efbc883a 100644 --- a/.github/workflows/docker-compose-bin.yml +++ b/.github/workflows/docker-compose-bin.yml @@ -18,7 +18,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=1.26.2 + [[ ! -n $VERSION ]] && VERSION=1.27.3 IMAGE_NAME=docker-compose-bin DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7 echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ From d2c6e436d273579ba1613e0bd02554743ef77f5f Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Fri, 25 Sep 2020 18:30:00 +0800 Subject: [PATCH 017/100] v2ray: 4.29.0 --- .github/workflows/v2ray.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/v2ray.yml b/.github/workflows/v2ray.yml index 68c514f2..973aac43 100644 --- a/.github/workflows/v2ray.yml +++ b/.github/workflows/v2ray.yml @@ -18,7 +18,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=4.28.2 + [[ ! -n $VERSION ]] && VERSION=4.29.0 IMAGE_NAME=v2ray DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ From 13a1a8099774dbc967fddd99d0337edc619a3b81 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 26 Sep 2020 16:07:01 +0800 Subject: [PATCH 018/100] Create LICENSE.md --- LICENSE.md | 201 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 201 insertions(+) create mode 100644 LICENSE.md diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 00000000..261eeb9e --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. From 40123db5cdebc22b3405277db2b10656524592f1 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 26 Sep 2020 16:47:01 +0800 Subject: [PATCH 019/100] php: 7.3.22 --- .github/workflows/php.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index a62c1ba8..e362a325 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -18,7 +18,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=7.3.19 + [[ ! -n $VERSION ]] && VERSION=7.3.22 IMAGE_NAME=php DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ From 706a0e6e4d32278a92bf2712ec9655eab56adbcd Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Wed, 30 Sep 2020 16:48:12 +0800 Subject: [PATCH 020/100] frp: 0.34.1 --- .github/workflows/frp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/frp.yml b/.github/workflows/frp.yml index 4ab87716..f9075530 100644 --- a/.github/workflows/frp.yml +++ b/.github/workflows/frp.yml @@ -18,7 +18,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=0.34.0 + [[ ! -n $VERSION ]] && VERSION=0.34.1 IMAGE_NAME=frp DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ From 6fc2d5ff802529d3a56cbebf5fa46d557052f80c Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Fri, 2 Oct 2020 07:22:34 +0800 Subject: [PATCH 021/100] v2ray: v4.30.0 --- .github/workflows/v2ray.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/v2ray.yml b/.github/workflows/v2ray.yml index 973aac43..c13c0197 100644 --- a/.github/workflows/v2ray.yml +++ b/.github/workflows/v2ray.yml @@ -18,7 +18,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=4.29.0 + [[ ! -n $VERSION ]] && VERSION=4.30.0 IMAGE_NAME=v2ray DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ From 2af587eae4b579beae781732ca224e5e4cc4f165 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Fri, 9 Oct 2020 13:08:33 +0800 Subject: [PATCH 022/100] v2ray: v4.31.0 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/v2ray.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/v2ray.yml b/.github/workflows/v2ray.yml index c13c0197..ccdab1bb 100644 --- a/.github/workflows/v2ray.yml +++ b/.github/workflows/v2ray.yml @@ -18,7 +18,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=4.30.0 + [[ ! -n $VERSION ]] && VERSION=4.31.0 IMAGE_NAME=v2ray DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ From 0dc529ae9f282a3038f404c582f421d30b138c38 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Thu, 15 Oct 2020 16:57:48 +0800 Subject: [PATCH 023/100] php: add php7-tokenizer Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- php/fpm/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/php/fpm/Dockerfile b/php/fpm/Dockerfile index bab2b24d..4c4d44f0 100644 --- a/php/fpm/Dockerfile +++ b/php/fpm/Dockerfile @@ -50,6 +50,7 @@ RUN set -xe && \ php7-soap \ php7-sodium \ php7-sqlite3 \ + php7-tokenizer \ php7-xmlreader \ php7-xmlrpc \ php7-zip \ From 08d8b58558e066e13dea2e540dd9be8b1a0030bf Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Fri, 16 Oct 2020 20:48:38 +0800 Subject: [PATCH 024/100] v2ray: 4.31.1 --- .github/workflows/v2ray.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/v2ray.yml b/.github/workflows/v2ray.yml index ccdab1bb..04bad1b9 100644 --- a/.github/workflows/v2ray.yml +++ b/.github/workflows/v2ray.yml @@ -18,7 +18,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=4.31.0 + [[ ! -n $VERSION ]] && VERSION=4.31.1 IMAGE_NAME=v2ray DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ From 0990a1fe59e9976bb6cde668ac1be0e90335e335 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sun, 18 Oct 2020 14:45:28 +0800 Subject: [PATCH 025/100] v2ray: v4.31.2 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/v2ray.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/v2ray.yml b/.github/workflows/v2ray.yml index 04bad1b9..3c0be63b 100644 --- a/.github/workflows/v2ray.yml +++ b/.github/workflows/v2ray.yml @@ -18,7 +18,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=4.31.1 + [[ ! -n $VERSION ]] && VERSION=4.31.2 IMAGE_NAME=v2ray DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ From e0aac6869aefcf1ef25a7293de4e15ed47431f02 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Thu, 22 Oct 2020 09:31:39 +0800 Subject: [PATCH 026/100] php: 7.3.23 and add composer Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/php.yml | 2 +- php/fpm/Dockerfile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index e362a325..a43fbeda 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -18,7 +18,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=7.3.22 + [[ ! -n $VERSION ]] && VERSION=7.3.23 IMAGE_NAME=php DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ diff --git a/php/fpm/Dockerfile b/php/fpm/Dockerfile index 4c4d44f0..c01ecc90 100644 --- a/php/fpm/Dockerfile +++ b/php/fpm/Dockerfile @@ -20,6 +20,7 @@ ENV MEMORY_LIMIT=256M \ # Let's roll RUN set -xe && \ apk add --no-cache \ + composer \ php7-bcmath \ php7-bz2 \ php7-curl \ From abd61e8dbf840461c3375fd9ab9a9cbd20200583 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Fri, 23 Oct 2020 16:42:03 +0800 Subject: [PATCH 027/100] v2ray: v4.31.3 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/v2ray.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/v2ray.yml b/.github/workflows/v2ray.yml index 3c0be63b..cacfdbfe 100644 --- a/.github/workflows/v2ray.yml +++ b/.github/workflows/v2ray.yml @@ -18,7 +18,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=4.31.2 + [[ ! -n $VERSION ]] && VERSION=4.31.3 IMAGE_NAME=v2ray DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ From 134e02ed3d023b7b97fd7ee7248e5e29f9df4e18 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Fri, 23 Oct 2020 18:45:17 +0800 Subject: [PATCH 028/100] docker-compose: 1.27.4 --- .github/workflows/docker-compose-bin.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-compose-bin.yml b/.github/workflows/docker-compose-bin.yml index efbc883a..39cb0cc3 100644 --- a/.github/workflows/docker-compose-bin.yml +++ b/.github/workflows/docker-compose-bin.yml @@ -18,7 +18,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=1.27.3 + [[ ! -n $VERSION ]] && VERSION=1.27.4 IMAGE_NAME=docker-compose-bin DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7 echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ From ea8b86206968d17cefd37af29022ada1500fd3f6 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 24 Oct 2020 17:23:44 +0800 Subject: [PATCH 029/100] mpd: update Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- mpd/Dockerfile | 13 +++++++++++-- mpd/README.md | 9 ++++++--- mpd/mpd.conf | 33 ++++++++++++++++++--------------- 3 files changed, 35 insertions(+), 20 deletions(-) diff --git a/mpd/Dockerfile b/mpd/Dockerfile index f3b6c5d0..170e5de5 100644 --- a/mpd/Dockerfile +++ b/mpd/Dockerfile @@ -3,12 +3,21 @@ FROM alpine:3.12 ARG VERSION RUN set -ex && \ - apk add --no-cache mpd + apk add --no-cache libcap mpd && \ + setcap -r /usr/bin/mpd && \ + apk del libcap && \ + mkdir -p /var/lib/mpd/playlists && \ + mkdir -p /music && \ + touch /var/lib/mpd/database \ + /var/lib/mpd/mpd.pid \ + /var/lib/mpd/state \ + /var/lib/mpd/sticker.sql && \ + chown mpd:audio -R /var/lib/mpd COPY mpd.conf /etc/mpd.conf VOLUME /var/lib/mpd -EXPOSE 6600 +EXPOSE 6600 8000 CMD ["mpd", "--stdout", "--no-daemon"] diff --git a/mpd/README.md b/mpd/README.md index 470970df..851375f3 100644 --- a/mpd/README.md +++ b/mpd/README.md @@ -6,7 +6,8 @@ Automatically built by Github Actions #### Volume -- /var/lib/mpd +- /music +- /var/lib/mpd/playlists #### Custom usage: @@ -16,7 +17,8 @@ Automatically built by Github Actions --device /dev/snd \ -p 6600:6600 \ -p 8000:8000 \ - -v /your/music:/var/lib/mpd/music \ + -v /your/music:/music \ + -v /your/playlists:/var/lib/mpd/playlists \ gists/mpd #### Compose example: @@ -27,7 +29,8 @@ Automatically built by Github Actions - "6600:6600" - "8000:8000" volumes: - - /your/music:/var/lib/mpd/music + - /your/music:/music + - /your/playlists:/var/lib/mpd/playlists \ devices: - /dev/snd restart: always diff --git a/mpd/mpd.conf b/mpd/mpd.conf index 935ee273..2c2183fb 100644 --- a/mpd/mpd.conf +++ b/mpd/mpd.conf @@ -1,18 +1,21 @@ -music_directory "/var/lib/mpd/music" -playlist_directory "/var/lib/mpd/playlists" -db_file "/var/lib/mpd/database" -log_file "/var/log/mpd/mpd.log" -pid_file "/var/run/mpd.pid" -state_file "/var/lib/mpd/state" -sticker_file "/var/lib/mpd/sticker.sql" +music_directory "/music" +playlist_directory "/var/lib/mpd/playlists" +db_file "/var/lib/mpd/database" +pid_file "/var/lib/mpd/mpd.pid" +state_file "/var/lib/mpd/state" +sticker_file "/var/lib/mpd/sticker.sql" + +filesystem_charset "UTF-8" +user "mpd" +bind_to_address "0.0.0.0" +port "6600" audio_output { - type "httpd" - name "HTTP Audio Stream" - encoder "vorbis" - port "8000" - bitrate "128" - format "44100:16:1" - always_on "yes" - tags "yes" + type "httpd" + name "HTTP Audio Stream" + encoder "vorbis" + port "8000" + bitrate "128" + always_on "yes" + max_clients "0" } From c755378e8f4194b00dac20e73c2c913eb9373ce6 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Fri, 30 Oct 2020 15:52:10 +0800 Subject: [PATCH 030/100] v2ray: 4.32.0 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/v2ray.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/v2ray.yml b/.github/workflows/v2ray.yml index cacfdbfe..041d0fba 100644 --- a/.github/workflows/v2ray.yml +++ b/.github/workflows/v2ray.yml @@ -18,7 +18,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=4.31.3 + [[ ! -n $VERSION ]] && VERSION=4.32.0 IMAGE_NAME=v2ray DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ From 77f315718422dc677826afddda48862b21564f7a Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Fri, 6 Nov 2020 09:41:49 +0800 Subject: [PATCH 031/100] Update libtorrent-rasterbar and qbittorrent libtorrent-rasterbar: 2.0.0 qbittorrent: 4.3.0.1 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/libtorrent-rasterbar.yml | 2 +- .github/workflows/qbittorrent.yml | 2 +- libtorrent-rasterbar/Dockerfile | 19 ++++++++++++++----- qbittorrent/Dockerfile | 11 +++++++++-- 4 files changed, 25 insertions(+), 9 deletions(-) diff --git a/.github/workflows/libtorrent-rasterbar.yml b/.github/workflows/libtorrent-rasterbar.yml index 6ae29689..d4826299 100644 --- a/.github/workflows/libtorrent-rasterbar.yml +++ b/.github/workflows/libtorrent-rasterbar.yml @@ -12,7 +12,7 @@ on: env: DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - VERSION: 1.2.10 + VERSION: 2.0.0 jobs: build386: diff --git a/.github/workflows/qbittorrent.yml b/.github/workflows/qbittorrent.yml index 949e12e1..00612f0e 100644 --- a/.github/workflows/qbittorrent.yml +++ b/.github/workflows/qbittorrent.yml @@ -18,7 +18,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=4.2.5 + [[ ! -n $VERSION ]] && VERSION=4.3.0.1 IMAGE_NAME=qbittorrent DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ diff --git a/libtorrent-rasterbar/Dockerfile b/libtorrent-rasterbar/Dockerfile index 12ae79cf..670eda9b 100644 --- a/libtorrent-rasterbar/Dockerfile +++ b/libtorrent-rasterbar/Dockerfile @@ -4,17 +4,26 @@ ARG VERSION RUN set -ex && \ apk add --no-cache --virtual .build-deps \ + git \ boost-dev \ + cmake \ curl \ g++ \ openssl-dev \ make \ tar && \ - mkdir -p /tmp/libtorrent-rasterbar && \ - cd /tmp/libtorrent-rasterbar/ && \ - curl -sSL https://github.com/arvidn/libtorrent/releases/download/libtorrent-$VERSION/libtorrent-rasterbar-$VERSION.tar.gz | tar xz --strip 1 && \ - ./configure CXXFLAGS="-std=c++17" --prefix=/usr --disable-dependency-tracking && \ - make -j$(nproc) && make install-strip && \ + # mkdir -p /tmp/libtorrent-rasterbar && \ + # cd /tmp/libtorrent-rasterbar/ && \ + # curl -sSL https://github.com/arvidn/libtorrent/releases/download/${VERSION%.*}/libtorrent-rasterbar-$VERSION.tar.gz | tar xz --strip 1 && \ + cd /tmp && \ + git clone https://github.com/arvidn/libtorrent.git && cd libtorrent && git submodule update --init && \ + cmake -B builddir \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_CXX_STANDARD=17 \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib && \ + cmake --build builddir --parallel $((`nproc`+1)) && \ + cmake --install builddir && \ cd / && \ runDeps="$( \ scanelf --needed --nobanner /usr/lib/libtorrent-* \ diff --git a/qbittorrent/Dockerfile b/qbittorrent/Dockerfile index 6292cdc5..1c832088 100644 --- a/qbittorrent/Dockerfile +++ b/qbittorrent/Dockerfile @@ -11,6 +11,7 @@ RUN set -ex && \ apk add --no-cache su-exec && \ apk add --no-cache --virtual .build-deps \ boost-dev \ + cmake \ curl \ g++ \ libcap \ @@ -22,8 +23,14 @@ RUN set -ex && \ mkdir -p /tmp/qbittorrent && \ cd /tmp/qbittorrent && \ curl -sSL https://github.com/qbittorrent/qBittorrent/archive/release-$VERSION.tar.gz | tar xz --strip 1 && \ - ./configure CXXFLAGS="-std=c++17" --prefix=/usr --disable-dependency-tracking --disable-gui --disable-qt-dbus && \ - make -j$(nproc) install && \ + cmake -B builddir \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_CXX_STANDARD=17 \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DSTACKTRACE=OFF \ + -DDBUS=OFF -DGUI=OFF && \ + cmake --build builddir --parallel $((`nproc`+1)) && \ + cmake --install builddir && \ # Set capability to bind privileged ports as non-root user for qbittorrent-nox setcap 'cap_net_bind_service=+ep' /usr/bin/qbittorrent-nox && \ cd / && \ From 7e08cdcb0f3b530d6362b177586b9f5450a10757 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Fri, 6 Nov 2020 21:06:52 +0800 Subject: [PATCH 032/100] frp: 0.34.2 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/frp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/frp.yml b/.github/workflows/frp.yml index f9075530..3ccf676d 100644 --- a/.github/workflows/frp.yml +++ b/.github/workflows/frp.yml @@ -18,7 +18,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=0.34.1 + [[ ! -n $VERSION ]] && VERSION=0.34.2 IMAGE_NAME=frp DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ From e604629df0f082b3d262063ff5f0ed67c03ea5ea Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Fri, 6 Nov 2020 21:41:27 +0800 Subject: [PATCH 033/100] v2ray: 4.32.1 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/v2ray.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/v2ray.yml b/.github/workflows/v2ray.yml index 041d0fba..d427a7ff 100644 --- a/.github/workflows/v2ray.yml +++ b/.github/workflows/v2ray.yml @@ -18,7 +18,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=4.32.0 + [[ ! -n $VERSION ]] && VERSION=4.32.1 IMAGE_NAME=v2ray DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ From 199c3e4df62b828f7e38d22a0485831c036f2fbd Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 7 Nov 2020 09:18:28 +0800 Subject: [PATCH 034/100] qbittorrent: QBT_VER_STATUS should be empty Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- qbittorrent/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/qbittorrent/Dockerfile b/qbittorrent/Dockerfile index 1c832088..db29792c 100644 --- a/qbittorrent/Dockerfile +++ b/qbittorrent/Dockerfile @@ -28,6 +28,7 @@ RUN set -ex && \ -DCMAKE_CXX_STANDARD=17 \ -DCMAKE_INSTALL_PREFIX:PATH=/usr \ -DSTACKTRACE=OFF \ + -DQBT_VER_STATUS="" \ -DDBUS=OFF -DGUI=OFF && \ cmake --build builddir --parallel $((`nproc`+1)) && \ cmake --install builddir && \ From 48b74a8fcd8d95289e1679b7530ea0e55665b687 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 7 Nov 2020 10:38:45 +0800 Subject: [PATCH 035/100] frp: update workflow Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/frp.yml | 49 +++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/.github/workflows/frp.yml b/.github/workflows/frp.yml index 3ccf676d..8180eb5b 100644 --- a/.github/workflows/frp.yml +++ b/.github/workflows/frp.yml @@ -13,38 +13,37 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - name: Prepare id: prepare run: | VERSION=${{ github.event.client_payload.version }} [[ ! -n $VERSION ]] && VERSION=0.34.2 IMAGE_NAME=frp - DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x - echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ - --build-arg VERSION=${VERSION} \ - --tag gists/${IMAGE_NAME}:latest \ - --tag gists/${IMAGE_NAME}:${VERSION} \ - --file ./${IMAGE_NAME}/Dockerfile \ - ./${IMAGE_NAME} + TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" + echo ::set-output name=build_args::VERSION=${VERSION} + echo ::set-output name=image-name::${IMAGE_NAME} + echo ::set-output name=tags::${TAGS} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx - id: buildx - uses: crazy-max/ghaction-docker-buildx@v3 - - name: Buildx (build) - run: | - docker buildx build \ - --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }} - - name: Login to Docker Hub Registry - if: success() - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - run: echo "${DOCKERHUB_PASSWORD}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin - - name: Buildx (push) - if: success() - run: | - docker buildx build \ - --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: github.event_name != 'pull_request' + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Build + uses: docker/build-push-action@v2 + with: + context: ./${{ steps.prepare.outputs.image-name }} + file: ./${{ steps.prepare.outputs.image-name }}/Dockerfile + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x + push: ${{ github.event_name != 'pull_request' }} + build-args: ${{ steps.prepare.outputs.build_args }} + tags: ${{ steps.prepare.outputs.tags }} - name: Clear if: always() run: | From 332f79780af2dd1db423d766f18a8d9c528f0156 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 7 Nov 2020 12:16:05 +0800 Subject: [PATCH 036/100] v2ray: update workflow Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/v2ray.yml | 49 ++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/.github/workflows/v2ray.yml b/.github/workflows/v2ray.yml index d427a7ff..86a65f4e 100644 --- a/.github/workflows/v2ray.yml +++ b/.github/workflows/v2ray.yml @@ -13,38 +13,37 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - name: Prepare id: prepare run: | VERSION=${{ github.event.client_payload.version }} [[ ! -n $VERSION ]] && VERSION=4.32.1 IMAGE_NAME=v2ray - DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x - echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ - --build-arg VERSION=${VERSION} \ - --tag gists/${IMAGE_NAME}:latest \ - --tag gists/${IMAGE_NAME}:${VERSION} \ - --file ./${IMAGE_NAME}/Dockerfile \ - ./${IMAGE_NAME} + TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" + echo ::set-output name=build_args::VERSION=${VERSION} + echo ::set-output name=image-name::${IMAGE_NAME} + echo ::set-output name=tags::${TAGS} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx - id: buildx - uses: crazy-max/ghaction-docker-buildx@v3 - - name: Buildx (build) - run: | - docker buildx build \ - --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }} - - name: Login to Docker Hub Registry - if: success() - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - run: echo "${DOCKERHUB_PASSWORD}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin - - name: Buildx (push) - if: success() - run: | - docker buildx build \ - --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: github.event_name != 'pull_request' + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Build + uses: docker/build-push-action@v2 + with: + context: ./${{ steps.prepare.outputs.image-name }} + file: ./${{ steps.prepare.outputs.image-name }}/Dockerfile + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x + push: ${{ github.event_name != 'pull_request' }} + build-args: ${{ steps.prepare.outputs.build_args }} + tags: ${{ steps.prepare.outputs.tags }} - name: Clear if: always() run: | From 40bc24d96c516a1e58d06a1de06d66b30f0e3b10 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 7 Nov 2020 12:18:55 +0800 Subject: [PATCH 037/100] v2ray-plugin: update workflow Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/v2ray-plugin.yml | 49 +++++++++++++++--------------- 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/.github/workflows/v2ray-plugin.yml b/.github/workflows/v2ray-plugin.yml index 9bdd5e4c..f56ce3da 100644 --- a/.github/workflows/v2ray-plugin.yml +++ b/.github/workflows/v2ray-plugin.yml @@ -13,38 +13,37 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - name: Prepare id: prepare run: | VERSION=${{ github.event.client_payload.version }} [[ ! -n $VERSION ]] && VERSION=1.3.1 IMAGE_NAME=v2ray-plugin - DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x - echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ - --build-arg VERSION=${VERSION} \ - --tag gists/${IMAGE_NAME}:latest \ - --tag gists/${IMAGE_NAME}:${VERSION} \ - -f ./shadowsocks/${IMAGE_NAME}/Dockerfile \ - ./shadowsocks/${IMAGE_NAME} + TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" + echo ::set-output name=build_args::VERSION=${VERSION} + echo ::set-output name=image-name::${IMAGE_NAME} + echo ::set-output name=tags::${TAGS} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx - id: buildx - uses: crazy-max/ghaction-docker-buildx@v3 - - name: Buildx (build) - run: | - docker buildx build \ - --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }} - - name: Login to Docker Hub Registry - if: success() - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - run: echo "${DOCKERHUB_PASSWORD}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin - - name: Buildx (push) - if: success() - run: | - docker buildx build \ - --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: github.event_name != 'pull_request' + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Build + uses: docker/build-push-action@v2 + with: + context: ./shadowsocks/${{ steps.prepare.outputs.image-name }} + file: ./shadowsocks/${{ steps.prepare.outputs.image-name }}/Dockerfile + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x + push: ${{ github.event_name != 'pull_request' }} + build-args: ${{ steps.prepare.outputs.build_args }} + tags: ${{ steps.prepare.outputs.tags }} - name: Clear if: always() run: | From 0326d6de6088c0ee195620459ae71c5dc90e174e Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 7 Nov 2020 12:34:59 +0800 Subject: [PATCH 038/100] trojan: update workflow Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/trojan.yml | 49 ++++++++++++++++++------------------ 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/.github/workflows/trojan.yml b/.github/workflows/trojan.yml index ddd3f9fb..21ecfdbd 100644 --- a/.github/workflows/trojan.yml +++ b/.github/workflows/trojan.yml @@ -13,38 +13,37 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - name: Prepare id: prepare run: | VERSION=${{ github.event.client_payload.version }} [[ ! -n $VERSION ]] && VERSION=1.16.0 IMAGE_NAME=trojan - DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x - echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ - --build-arg VERSION=${VERSION} \ - --tag gists/${IMAGE_NAME}:latest \ - --tag gists/${IMAGE_NAME}:${VERSION} \ - --file ./${IMAGE_NAME}/Dockerfile \ - ./${IMAGE_NAME} + TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" + echo ::set-output name=build_args::VERSION=${VERSION} + echo ::set-output name=image-name::${IMAGE_NAME} + echo ::set-output name=tags::${TAGS} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx - id: buildx - uses: crazy-max/ghaction-docker-buildx@v3 - - name: Buildx (build) - run: | - docker buildx build \ - --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }} - - name: Login to Docker Hub Registry - if: success() - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - run: echo "${DOCKERHUB_PASSWORD}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin - - name: Buildx (push) - if: success() - run: | - docker buildx build \ - --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: github.event_name != 'pull_request' + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Build + uses: docker/build-push-action@v2 + with: + context: ./shadowsocks/${{ steps.prepare.outputs.image-name }} + file: ./shadowsocks/${{ steps.prepare.outputs.image-name }}/Dockerfile + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x + push: ${{ github.event_name != 'pull_request' }} + build-args: ${{ steps.prepare.outputs.build_args }} + tags: ${{ steps.prepare.outputs.tags }} - name: Clear if: always() run: | From 54ae88c6bf673a218c11961c4b8d2da4a6c6bc53 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 7 Nov 2020 12:37:29 +0800 Subject: [PATCH 039/100] trojan: update workflow Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/trojan.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/trojan.yml b/.github/workflows/trojan.yml index 21ecfdbd..29c41490 100644 --- a/.github/workflows/trojan.yml +++ b/.github/workflows/trojan.yml @@ -38,8 +38,8 @@ jobs: - name: Build uses: docker/build-push-action@v2 with: - context: ./shadowsocks/${{ steps.prepare.outputs.image-name }} - file: ./shadowsocks/${{ steps.prepare.outputs.image-name }}/Dockerfile + context: ./${{ steps.prepare.outputs.image-name }} + file: ./${{ steps.prepare.outputs.image-name }}/Dockerfile platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x push: ${{ github.event_name != 'pull_request' }} build-args: ${{ steps.prepare.outputs.build_args }} From 6ade3c77499df52a7bc449227de3999b8c95cc05 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 7 Nov 2020 12:38:25 +0800 Subject: [PATCH 040/100] trojan-go: update workflow Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/trojan-go.yml | 49 ++++++++++++++++----------------- 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/.github/workflows/trojan-go.yml b/.github/workflows/trojan-go.yml index 4e23827c..6d40291f 100644 --- a/.github/workflows/trojan-go.yml +++ b/.github/workflows/trojan-go.yml @@ -13,38 +13,37 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - name: Prepare id: prepare run: | VERSION=${{ github.event.client_payload.version }} [[ ! -n $VERSION ]] && VERSION=0.8.2 IMAGE_NAME=trojan-go - DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x - echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ - --build-arg VERSION=${VERSION} \ - --tag gists/${IMAGE_NAME}:latest \ - --tag gists/${IMAGE_NAME}:${VERSION} \ - --file ./${IMAGE_NAME}/Dockerfile \ - ./${IMAGE_NAME} + TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" + echo ::set-output name=build_args::VERSION=${VERSION} + echo ::set-output name=image-name::${IMAGE_NAME} + echo ::set-output name=tags::${TAGS} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx - id: buildx - uses: crazy-max/ghaction-docker-buildx@v3 - - name: Buildx (build) - run: | - docker buildx build \ - --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }} - - name: Login to Docker Hub Registry - if: success() - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - run: echo "${DOCKERHUB_PASSWORD}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin - - name: Buildx (push) - if: success() - run: | - docker buildx build \ - --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: github.event_name != 'pull_request' + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Build + uses: docker/build-push-action@v2 + with: + context: ./${{ steps.prepare.outputs.image-name }} + file: ./${{ steps.prepare.outputs.image-name }}/Dockerfile + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x + push: ${{ github.event_name != 'pull_request' }} + build-args: ${{ steps.prepare.outputs.build_args }} + tags: ${{ steps.prepare.outputs.tags }} - name: Clear if: always() run: | From 5bae0694747498d76b580a83e1f785b13512ece9 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 7 Nov 2020 12:40:18 +0800 Subject: [PATCH 041/100] transmission: update workflow Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/transmission.yml | 48 +++++++++++++++--------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/transmission.yml b/.github/workflows/transmission.yml index 2116647a..7663a572 100644 --- a/.github/workflows/transmission.yml +++ b/.github/workflows/transmission.yml @@ -13,37 +13,37 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - name: Prepare id: prepare run: | VERSION=${{ github.event.client_payload.version }} [[ ! -n $VERSION ]] && VERSION="3.00" IMAGE_NAME=transmission - DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x - echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ - --tag gists/${IMAGE_NAME}:latest \ - --tag gists/${IMAGE_NAME}:${VERSION} \ - -f ./${IMAGE_NAME}/Dockerfile \ - ./${IMAGE_NAME} + TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" + echo ::set-output name=build_args::VERSION=${VERSION} + echo ::set-output name=image-name::${IMAGE_NAME} + echo ::set-output name=tags::${TAGS} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx - id: buildx - uses: crazy-max/ghaction-docker-buildx@v3 - - name: Buildx (build) - run: | - docker buildx build \ - --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }} - - name: Login to Docker Hub Registry - if: success() - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - run: echo "${DOCKERHUB_PASSWORD}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin - - name: Buildx (push) - if: success() - run: | - docker buildx build \ - --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: github.event_name != 'pull_request' + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Build + uses: docker/build-push-action@v2 + with: + context: ./${{ steps.prepare.outputs.image-name }} + file: ./${{ steps.prepare.outputs.image-name }}/Dockerfile + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x + push: ${{ github.event_name != 'pull_request' }} + build-args: ${{ steps.prepare.outputs.build_args }} + tags: ${{ steps.prepare.outputs.tags }} - name: Clear if: always() run: | From ab2c39b5306157b6919903c8d0e8640aa621bf1a Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 7 Nov 2020 12:44:05 +0800 Subject: [PATCH 042/100] speedtest-cli: update workflow Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/speedtest-cli.yml | 49 ++++++++++++++--------------- 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/.github/workflows/speedtest-cli.yml b/.github/workflows/speedtest-cli.yml index e4d9308e..1893dd11 100644 --- a/.github/workflows/speedtest-cli.yml +++ b/.github/workflows/speedtest-cli.yml @@ -13,38 +13,37 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - name: Prepare id: prepare run: | VERSION=${{ github.event.client_payload.version }} [[ ! -n $VERSION ]] && VERSION=1.0.0 IMAGE_NAME=speedtest-cli - DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7 - echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ - --build-arg VERSION=${VERSION} \ - --tag gists/${IMAGE_NAME}:latest \ - --tag gists/${IMAGE_NAME}:${VERSION} \ - --file ./${IMAGE_NAME}/Dockerfile \ - ./${IMAGE_NAME} + TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" + echo ::set-output name=build_args::VERSION=${VERSION} + echo ::set-output name=image-name::${IMAGE_NAME} + echo ::set-output name=tags::${TAGS} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx - id: buildx - uses: crazy-max/ghaction-docker-buildx@v3 - - name: Buildx (build) - run: | - docker buildx build \ - --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }} - - name: Login to Docker Hub Registry - if: success() - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - run: echo "${DOCKERHUB_PASSWORD}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin - - name: Buildx (push) - if: success() - run: | - docker buildx build \ - --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: github.event_name != 'pull_request' + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Build + uses: docker/build-push-action@v2 + with: + context: ./${{ steps.prepare.outputs.image-name }} + file: ./${{ steps.prepare.outputs.image-name }}/Dockerfile + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7 + push: ${{ github.event_name != 'pull_request' }} + build-args: ${{ steps.prepare.outputs.build_args }} + tags: ${{ steps.prepare.outputs.tags }} - name: Clear if: always() run: | From 47112bc8335148c9561fba5422667fd192744a6e Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 7 Nov 2020 13:04:02 +0800 Subject: [PATCH 043/100] shadowsocks-libev: update workflow Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/shadowsocks-libev.yml | 49 ++++++++++++------------- shadowsocks/libev/Dockerfile | 2 +- 2 files changed, 25 insertions(+), 26 deletions(-) diff --git a/.github/workflows/shadowsocks-libev.yml b/.github/workflows/shadowsocks-libev.yml index 53c6350d..8c3fe892 100644 --- a/.github/workflows/shadowsocks-libev.yml +++ b/.github/workflows/shadowsocks-libev.yml @@ -13,38 +13,37 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - name: Prepare id: prepare run: | VERSION=${{ github.event.client_payload.version }} [[ ! -n $VERSION ]] && VERSION=3.3.5 IMAGE_NAME=shadowsocks-libev - DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x - echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ - --build-arg VERSION=${VERSION} \ - --tag gists/${IMAGE_NAME}:latest \ - --tag gists/${IMAGE_NAME}:${VERSION} \ - -f ./shadowsocks/libev/Dockerfile \ - ./shadowsocks/libev + TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" + echo ::set-output name=build_args::VERSION=${VERSION} + echo ::set-output name=image-name::${IMAGE_NAME} + echo ::set-output name=tags::${TAGS} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx - id: buildx - uses: crazy-max/ghaction-docker-buildx@v3 - - name: Buildx (build) - run: | - docker buildx build \ - --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }} - - name: Login to Docker Hub Registry - if: success() - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - run: echo "${DOCKERHUB_PASSWORD}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin - - name: Buildx (push) - if: success() - run: | - docker buildx build \ - --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: github.event_name != 'pull_request' + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Build + uses: docker/build-push-action@v2 + with: + context: ./shadowsocks/libev + file: ./shadowsocks/libev/Dockerfile + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x + push: ${{ github.event_name != 'pull_request' }} + build-args: ${{ steps.prepare.outputs.build_args }} + tags: ${{ steps.prepare.outputs.tags }} - name: Clear if: always() run: | diff --git a/shadowsocks/libev/Dockerfile b/shadowsocks/libev/Dockerfile index 20eb8d8e..fc52627a 100644 --- a/shadowsocks/libev/Dockerfile +++ b/shadowsocks/libev/Dockerfile @@ -29,7 +29,7 @@ RUN set -ex && \ curl -sSL https://github.com/shadowsocks/shadowsocks-libev/releases/download/v$VERSION/shadowsocks-libev-$VERSION.tar.gz | \ tar xz --strip 1 && \ ./configure --prefix=/usr --disable-documentation && \ - make install && \ + make -j $((`nproc`+1)) install && \ ls /usr/bin/ss-* | xargs -n1 setcap 'cap_net_bind_service+ep' && \ runDeps="$( \ scanelf --needed --nobanner /usr/bin/ss-* \ From 9ef79dd56e86ae1bc9ef3ddd88dd7a93e504d776 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 7 Nov 2020 13:15:39 +0800 Subject: [PATCH 044/100] smartmontools: update workflow Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/smartmontools.yml | 48 ++++++++++++++--------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/smartmontools.yml b/.github/workflows/smartmontools.yml index a2591155..e48d0845 100644 --- a/.github/workflows/smartmontools.yml +++ b/.github/workflows/smartmontools.yml @@ -13,37 +13,37 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - name: Prepare id: prepare run: | VERSION=${{ github.event.client_payload.version }} [[ ! -n $VERSION ]] && VERSION=7.1 IMAGE_NAME=smartmontools - DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x - echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ - --tag gists/${IMAGE_NAME}:latest \ - --tag gists/${IMAGE_NAME}:${VERSION} \ - -f ./${IMAGE_NAME}/Dockerfile \ - ./${IMAGE_NAME} + TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" + echo ::set-output name=build_args::VERSION=${VERSION} + echo ::set-output name=image-name::${IMAGE_NAME} + echo ::set-output name=tags::${TAGS} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx - id: buildx - uses: crazy-max/ghaction-docker-buildx@v3 - - name: Buildx (build) - run: | - docker buildx build \ - --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }} - - name: Login to Docker Hub Registry - if: success() - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - run: echo "${DOCKERHUB_PASSWORD}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin - - name: Buildx (push) - if: success() - run: | - docker buildx build \ - --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: github.event_name != 'pull_request' + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Build + uses: docker/build-push-action@v2 + with: + context: ./${{ steps.prepare.outputs.image-name }} + file: ./${{ steps.prepare.outputs.image-name }}/Dockerfile + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x + push: ${{ github.event_name != 'pull_request' }} + build-args: ${{ steps.prepare.outputs.build_args }} + tags: ${{ steps.prepare.outputs.tags }} - name: Clear if: always() run: | From d2354ad7556759135a2185c07f6d27afb75d71fc Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 7 Nov 2020 13:17:39 +0800 Subject: [PATCH 045/100] samba-server: update workflow Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/samba-server.yml | 50 +++++++++++++++--------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/samba-server.yml b/.github/workflows/samba-server.yml index f88e7ab0..7c1a1859 100644 --- a/.github/workflows/samba-server.yml +++ b/.github/workflows/samba-server.yml @@ -13,37 +13,37 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - name: Prepare id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=4.12.2 + [[ ! -n $VERSION ]] && VERSION=4.12.9 IMAGE_NAME=samba-server - DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x - echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ - --tag gists/${IMAGE_NAME}:latest \ - --tag gists/${IMAGE_NAME}:${VERSION} \ - -f ./${IMAGE_NAME}/Dockerfile \ - ./${IMAGE_NAME} + TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" + echo ::set-output name=build_args::VERSION=${VERSION} + echo ::set-output name=image-name::${IMAGE_NAME} + echo ::set-output name=tags::${TAGS} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx - id: buildx - uses: crazy-max/ghaction-docker-buildx@v3 - - name: Buildx (build) - run: | - docker buildx build \ - --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }} - - name: Login to Docker Hub Registry - if: success() - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - run: echo "${DOCKERHUB_PASSWORD}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin - - name: Buildx (push) - if: success() - run: | - docker buildx build \ - --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: github.event_name != 'pull_request' + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Build + uses: docker/build-push-action@v2 + with: + context: ./${{ steps.prepare.outputs.image-name }} + file: ./${{ steps.prepare.outputs.image-name }}/Dockerfile + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x + push: ${{ github.event_name != 'pull_request' }} + build-args: ${{ steps.prepare.outputs.build_args }} + tags: ${{ steps.prepare.outputs.tags }} - name: Clear if: always() run: | From c020f495a54b641ecba80454f31c0787c120e85c Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 7 Nov 2020 13:22:22 +0800 Subject: [PATCH 046/100] rutorrent: update workflow Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/rutorrent.yml | 49 ++++++++++++++++----------------- 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/.github/workflows/rutorrent.yml b/.github/workflows/rutorrent.yml index 9d3de644..5f997e60 100644 --- a/.github/workflows/rutorrent.yml +++ b/.github/workflows/rutorrent.yml @@ -13,38 +13,37 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - name: Prepare id: prepare run: | VERSION=${{ github.event.client_payload.version }} [[ ! -n $VERSION ]] && VERSION=3.10 IMAGE_NAME=rutorrent - DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x - echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ - --build-arg VERSION=${VERSION} \ - --tag gists/${IMAGE_NAME}:latest \ - --tag gists/${IMAGE_NAME}:${VERSION} \ - -f ./${IMAGE_NAME}/Dockerfile \ - ./${IMAGE_NAME} + TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" + echo ::set-output name=build_args::VERSION=${VERSION} + echo ::set-output name=image-name::${IMAGE_NAME} + echo ::set-output name=tags::${TAGS} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx - id: buildx - uses: crazy-max/ghaction-docker-buildx@v3 - - name: Buildx (build) - run: | - docker buildx build \ - --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }} - - name: Login to Docker Hub Registry - if: success() - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - run: echo "${DOCKERHUB_PASSWORD}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin - - name: Buildx (push) - if: success() - run: | - docker buildx build \ - --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: github.event_name != 'pull_request' + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Build + uses: docker/build-push-action@v2 + with: + context: ./${{ steps.prepare.outputs.image-name }} + file: ./${{ steps.prepare.outputs.image-name }}/Dockerfile + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x + push: ${{ github.event_name != 'pull_request' }} + build-args: ${{ steps.prepare.outputs.build_args }} + tags: ${{ steps.prepare.outputs.tags }} - name: Clear if: always() run: | From 0c97d37ef519b43f96885777173d08318cb647c3 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 7 Nov 2020 13:46:50 +0800 Subject: [PATCH 047/100] shadowsocks:v2ray-plugin update workflow Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .../shadowsocks-libev.v2ray-plugin.yml | 49 +++++++++---------- 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/.github/workflows/shadowsocks-libev.v2ray-plugin.yml b/.github/workflows/shadowsocks-libev.v2ray-plugin.yml index c819191b..144438cb 100644 --- a/.github/workflows/shadowsocks-libev.v2ray-plugin.yml +++ b/.github/workflows/shadowsocks-libev.v2ray-plugin.yml @@ -13,38 +13,37 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - name: Prepare id: prepare run: | VERSION=${{ github.event.client_payload.version }} [[ ! -n $VERSION ]] && VERSION=1.3.1 IMAGE_NAME=shadowsocks-libev - DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x - echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ - --build-arg VERSION=${VERSION} \ - --tag gists/${IMAGE_NAME}:v2ray-plugin-latest \ - --tag gists/${IMAGE_NAME}:v2ray-plugin-${VERSION} \ - -f ./shadowsocks/libev+v2ray/Dockerfile \ - ./shadowsocks/libev+v2ray + TAGS="gists/${IMAGE_NAME}:v2ray-plugin-${VERSION},gists/${IMAGE_NAME}:v2ray-plugin-latest" + echo ::set-output name=build_args::VERSION=${VERSION} + echo ::set-output name=image-name::${IMAGE_NAME} + echo ::set-output name=tags::${TAGS} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx - id: buildx - uses: crazy-max/ghaction-docker-buildx@v3 - - name: Buildx (build) - run: | - docker buildx build \ - --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }} - - name: Login to Docker Hub Registry - if: success() - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - run: echo "${DOCKERHUB_PASSWORD}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin - - name: Buildx (push) - if: success() - run: | - docker buildx build \ - --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: github.event_name != 'pull_request' + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Build + uses: docker/build-push-action@v2 + with: + context: ./shadowsocks/libev+v2ray + file: ./shadowsocks/libev+v2ray/Dockerfile + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x + push: ${{ github.event_name != 'pull_request' }} + build-args: ${{ steps.prepare.outputs.build_args }} + tags: ${{ steps.prepare.outputs.tags }} - name: Clear if: always() run: | From 33280e75fb68d31d87ddcec8133a62f90fc4696e Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 7 Nov 2020 13:50:50 +0800 Subject: [PATCH 048/100] rsync: update workflow Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/rsync.yml | 48 ++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/rsync.yml b/.github/workflows/rsync.yml index 175eb382..2045fa05 100644 --- a/.github/workflows/rsync.yml +++ b/.github/workflows/rsync.yml @@ -13,37 +13,37 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - name: Prepare id: prepare run: | VERSION=${{ github.event.client_payload.version }} [[ ! -n $VERSION ]] && VERSION=3.1.3 IMAGE_NAME=rsync - DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x - echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ - --tag gists/${IMAGE_NAME}:latest \ - --tag gists/${IMAGE_NAME}:${VERSION} \ - --file ./${IMAGE_NAME}/Dockerfile \ - ./${IMAGE_NAME} + TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" + echo ::set-output name=build_args::VERSION=${VERSION} + echo ::set-output name=image-name::${IMAGE_NAME} + echo ::set-output name=tags::${TAGS} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx - id: buildx - uses: crazy-max/ghaction-docker-buildx@v3 - - name: Buildx (build) - run: | - docker buildx build \ - --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }} - - name: Login to Docker Hub Registry - if: success() - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - run: echo "${DOCKERHUB_PASSWORD}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin - - name: Buildx (push) - if: success() - run: | - docker buildx build \ - --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: github.event_name != 'pull_request' + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Build + uses: docker/build-push-action@v2 + with: + context: ./${{ steps.prepare.outputs.image-name }} + file: ./${{ steps.prepare.outputs.image-name }}/Dockerfile + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x + push: ${{ github.event_name != 'pull_request' }} + build-args: ${{ steps.prepare.outputs.build_args }} + tags: ${{ steps.prepare.outputs.tags }} - name: Clear if: always() run: | From 48debc832fca79888fcd65680c446952da19e7ef Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 7 Nov 2020 13:52:29 +0800 Subject: [PATCH 049/100] pure-ftpd: update workflow Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/pure-ftpd.yml | 49 ++++++++++++++++----------------- 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/.github/workflows/pure-ftpd.yml b/.github/workflows/pure-ftpd.yml index c6d05212..db4c568d 100644 --- a/.github/workflows/pure-ftpd.yml +++ b/.github/workflows/pure-ftpd.yml @@ -13,38 +13,37 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - name: Prepare id: prepare run: | VERSION=${{ github.event.client_payload.version }} [[ ! -n $VERSION ]] && VERSION=1.0.49 IMAGE_NAME=pure-ftpd - DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x - echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ - --build-arg VERSION=${VERSION} \ - --tag gists/${IMAGE_NAME}:latest \ - --tag gists/${IMAGE_NAME}:${VERSION} \ - --file ./${IMAGE_NAME}/Dockerfile \ - ./${IMAGE_NAME} + TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" + echo ::set-output name=build_args::VERSION=${VERSION} + echo ::set-output name=image-name::${IMAGE_NAME} + echo ::set-output name=tags::${TAGS} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx - id: buildx - uses: crazy-max/ghaction-docker-buildx@v3 - - name: Buildx (build) - run: | - docker buildx build \ - --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }} - - name: Login to Docker Hub Registry - if: success() - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - run: echo "${DOCKERHUB_PASSWORD}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin - - name: Buildx (push) - if: success() - run: | - docker buildx build \ - --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: github.event_name != 'pull_request' + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Build + uses: docker/build-push-action@v2 + with: + context: ./${{ steps.prepare.outputs.image-name }} + file: ./${{ steps.prepare.outputs.image-name }}/Dockerfile + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x + push: ${{ github.event_name != 'pull_request' }} + build-args: ${{ steps.prepare.outputs.build_args }} + tags: ${{ steps.prepare.outputs.tags }} - name: Clear if: always() run: | From 097ea0153eef8854a073e3f3aa8b90643db44a74 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 7 Nov 2020 13:58:42 +0800 Subject: [PATCH 050/100] docker-compose-bin: update workflow Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/docker-compose-bin.yml | 49 ++++++++++++------------ 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/.github/workflows/docker-compose-bin.yml b/.github/workflows/docker-compose-bin.yml index 39cb0cc3..8c1a0d30 100644 --- a/.github/workflows/docker-compose-bin.yml +++ b/.github/workflows/docker-compose-bin.yml @@ -13,38 +13,37 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - name: Prepare id: prepare run: | VERSION=${{ github.event.client_payload.version }} [[ ! -n $VERSION ]] && VERSION=1.27.4 IMAGE_NAME=docker-compose-bin - DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7 - echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ - --build-arg VERSION=${VERSION} \ - --tag gists/${IMAGE_NAME}:latest \ - --tag gists/${IMAGE_NAME}:${VERSION} \ - --file ./${IMAGE_NAME}/Dockerfile \ - ./${IMAGE_NAME} + TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" + echo ::set-output name=build_args::VERSION=${VERSION} + echo ::set-output name=image-name::${IMAGE_NAME} + echo ::set-output name=tags::${TAGS} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx - id: buildx - uses: crazy-max/ghaction-docker-buildx@v3 - - name: Buildx (build) - run: | - docker buildx build \ - --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }} - - name: Login to Docker Hub Registry - if: success() - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - run: echo "${DOCKERHUB_PASSWORD}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin - - name: Buildx (push) - if: success() - run: | - docker buildx build \ - --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: github.event_name != 'pull_request' + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Build + uses: docker/build-push-action@v2 + with: + context: ./${{ steps.prepare.outputs.image-name }} + file: ./${{ steps.prepare.outputs.image-name }}/Dockerfile + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7 + push: ${{ github.event_name != 'pull_request' }} + build-args: ${{ steps.prepare.outputs.build_args }} + tags: ${{ steps.prepare.outputs.tags }} - name: Clear if: always() run: | From 923b82bb1351d43ea3bf21df90657d6f6357cd12 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 7 Nov 2020 14:00:02 +0800 Subject: [PATCH 051/100] haproxy: update workflow Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/haproxy.yml | 50 +++++++++++++++++------------------ 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/haproxy.yml b/.github/workflows/haproxy.yml index 04cf88f5..416f08be 100644 --- a/.github/workflows/haproxy.yml +++ b/.github/workflows/haproxy.yml @@ -13,37 +13,37 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - name: Prepare id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=2.1.4 + [[ ! -n $VERSION ]] && VERSION=2.1.10 IMAGE_NAME=haproxy - DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x - echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ - --tag gists/${IMAGE_NAME}:latest \ - --tag gists/${IMAGE_NAME}:${VERSION} \ - --file ./${IMAGE_NAME}/Dockerfile \ - ./${IMAGE_NAME} + TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" + echo ::set-output name=build_args::VERSION=${VERSION} + echo ::set-output name=image-name::${IMAGE_NAME} + echo ::set-output name=tags::${TAGS} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx - id: buildx - uses: crazy-max/ghaction-docker-buildx@v3 - - name: Buildx (build) - run: | - docker buildx build \ - --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }} - - name: Login to Docker Hub Registry - if: success() - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - run: echo "${DOCKERHUB_PASSWORD}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin - - name: Buildx (push) - if: success() - run: | - docker buildx build \ - --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: github.event_name != 'pull_request' + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Build + uses: docker/build-push-action@v2 + with: + context: ./${{ steps.prepare.outputs.image-name }} + file: ./${{ steps.prepare.outputs.image-name }}/Dockerfile + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x + push: ${{ github.event_name != 'pull_request' }} + build-args: ${{ steps.prepare.outputs.build_args }} + tags: ${{ steps.prepare.outputs.tags }} - name: Clear if: always() run: | From cb40aff9d3571f505dd4d1ef8f333377bed541a1 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 7 Nov 2020 14:01:16 +0800 Subject: [PATCH 052/100] mariadb: update workflow Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/mariadb.yml | 50 +++++++++++++++++------------------ 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/mariadb.yml b/.github/workflows/mariadb.yml index cb95df23..cd70f16e 100644 --- a/.github/workflows/mariadb.yml +++ b/.github/workflows/mariadb.yml @@ -13,37 +13,37 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - name: Prepare id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=10.4.13 + [[ ! -n $VERSION ]] && VERSION=10.4.15 IMAGE_NAME=mariadb - DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x - echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ - --tag gists/${IMAGE_NAME}:latest \ - --tag gists/${IMAGE_NAME}:${VERSION} \ - --file ./${IMAGE_NAME}/Dockerfile \ - ./${IMAGE_NAME} + TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" + echo ::set-output name=build_args::VERSION=${VERSION} + echo ::set-output name=image-name::${IMAGE_NAME} + echo ::set-output name=tags::${TAGS} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx - id: buildx - uses: crazy-max/ghaction-docker-buildx@v3 - - name: Buildx (build) - run: | - docker buildx build \ - --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }} - - name: Login to Docker Hub Registry - if: success() - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - run: echo "${DOCKERHUB_PASSWORD}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin - - name: Buildx (push) - if: success() - run: | - docker buildx build \ - --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: github.event_name != 'pull_request' + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Build + uses: docker/build-push-action@v2 + with: + context: ./${{ steps.prepare.outputs.image-name }} + file: ./${{ steps.prepare.outputs.image-name }}/Dockerfile + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x + push: ${{ github.event_name != 'pull_request' }} + build-args: ${{ steps.prepare.outputs.build_args }} + tags: ${{ steps.prepare.outputs.tags }} - name: Clear if: always() run: | From 0c1e6255b1b27eb8359a55ef67ff8003db82c4bd Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 7 Nov 2020 14:02:31 +0800 Subject: [PATCH 053/100] mpd: update workflow Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/mpd.yml | 48 +++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/mpd.yml b/.github/workflows/mpd.yml index a874d158..647bc1be 100644 --- a/.github/workflows/mpd.yml +++ b/.github/workflows/mpd.yml @@ -13,37 +13,37 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - name: Prepare id: prepare run: | VERSION=${{ github.event.client_payload.version }} [[ ! -n $VERSION ]] && VERSION=0.21.23 IMAGE_NAME=mpd - DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x - echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ - --tag gists/${IMAGE_NAME}:latest \ - --tag gists/${IMAGE_NAME}:${VERSION} \ - --file ./${IMAGE_NAME}/Dockerfile \ - ./${IMAGE_NAME} + TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" + echo ::set-output name=build_args::VERSION=${VERSION} + echo ::set-output name=image-name::${IMAGE_NAME} + echo ::set-output name=tags::${TAGS} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx - id: buildx - uses: crazy-max/ghaction-docker-buildx@v3 - - name: Buildx (build) - run: | - docker buildx build \ - --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }} - - name: Login to Docker Hub Registry - if: success() - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - run: echo "${DOCKERHUB_PASSWORD}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin - - name: Buildx (push) - if: success() - run: | - docker buildx build \ - --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: github.event_name != 'pull_request' + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Build + uses: docker/build-push-action@v2 + with: + context: ./${{ steps.prepare.outputs.image-name }} + file: ./${{ steps.prepare.outputs.image-name }}/Dockerfile + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x + push: ${{ github.event_name != 'pull_request' }} + build-args: ${{ steps.prepare.outputs.build_args }} + tags: ${{ steps.prepare.outputs.tags }} - name: Clear if: always() run: | From 04781dd85b290c2577fc7070b7b4d987aebd6a9d Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 7 Nov 2020 14:04:07 +0800 Subject: [PATCH 054/100] nfs-server: update workflow Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/nfs-server.yml | 48 ++++++++++++++++---------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/nfs-server.yml b/.github/workflows/nfs-server.yml index a1856a31..4b5b9acf 100644 --- a/.github/workflows/nfs-server.yml +++ b/.github/workflows/nfs-server.yml @@ -13,37 +13,37 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - name: Prepare id: prepare run: | VERSION=${{ github.event.client_payload.version }} [[ ! -n $VERSION ]] && VERSION=2.4.3 IMAGE_NAME=nfs-server - DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x - echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ - --tag gists/${IMAGE_NAME}:latest \ - --tag gists/${IMAGE_NAME}:${VERSION} \ - --file ./${IMAGE_NAME}/Dockerfile \ - ./${IMAGE_NAME} + TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" + echo ::set-output name=build_args::VERSION=${VERSION} + echo ::set-output name=image-name::${IMAGE_NAME} + echo ::set-output name=tags::${TAGS} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx - id: buildx - uses: crazy-max/ghaction-docker-buildx@v3 - - name: Buildx (build) - run: | - docker buildx build \ - --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }} - - name: Login to Docker Hub Registry - if: success() - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - run: echo "${DOCKERHUB_PASSWORD}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin - - name: Buildx (push) - if: success() - run: | - docker buildx build \ - --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: github.event_name != 'pull_request' + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Build + uses: docker/build-push-action@v2 + with: + context: ./${{ steps.prepare.outputs.image-name }} + file: ./${{ steps.prepare.outputs.image-name }}/Dockerfile + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x + push: ${{ github.event_name != 'pull_request' }} + build-args: ${{ steps.prepare.outputs.build_args }} + tags: ${{ steps.prepare.outputs.tags }} - name: Clear if: always() run: | From 7468dd829d5e0807080f5517b99b1a9f57817742 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 7 Nov 2020 14:06:07 +0800 Subject: [PATCH 055/100] php: update workflow Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/php.yml | 50 +++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index a43fbeda..f550129a 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -13,37 +13,37 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - name: Prepare id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=7.3.23 + [[ ! -n $VERSION ]] && VERSION=7.3.24 IMAGE_NAME=php - DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x - echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ - --tag gists/${IMAGE_NAME}:latest \ - --tag gists/${IMAGE_NAME}:${VERSION} \ - --file ./php/fpm/Dockerfile \ - ./php/fpm + TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" + echo ::set-output name=build_args::VERSION=${VERSION} + echo ::set-output name=image-name::${IMAGE_NAME} + echo ::set-output name=tags::${TAGS} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx - id: buildx - uses: crazy-max/ghaction-docker-buildx@v3 - - name: Buildx (build) - run: | - docker buildx build \ - --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }} - - name: Login to Docker Hub Registry - if: success() - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - run: echo "${DOCKERHUB_PASSWORD}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin - - name: Buildx (push) - if: success() - run: | - docker buildx build \ - --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: github.event_name != 'pull_request' + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Build + uses: docker/build-push-action@v2 + with: + context: ./${{ steps.prepare.outputs.image-name }}/fpm + file: ./${{ steps.prepare.outputs.image-name }}/fpm/Dockerfile + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x + push: ${{ github.event_name != 'pull_request' }} + build-args: ${{ steps.prepare.outputs.build_args }} + tags: ${{ steps.prepare.outputs.tags }} - name: Clear if: always() run: | From 5732ea6a4c2d52010dc5d68192da15541657be2f Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 7 Nov 2020 14:07:02 +0800 Subject: [PATCH 056/100] pptpd: update workflow Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/pptpd.yml | 48 ++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/pptpd.yml b/.github/workflows/pptpd.yml index 75521d7e..d5a3018f 100644 --- a/.github/workflows/pptpd.yml +++ b/.github/workflows/pptpd.yml @@ -13,37 +13,37 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - name: Prepare id: prepare run: | VERSION=${{ github.event.client_payload.version }} [[ ! -n $VERSION ]] && VERSION=1.4.0 IMAGE_NAME=pptpd - DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x - echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ - --tag gists/${IMAGE_NAME}:latest \ - --tag gists/${IMAGE_NAME}:${VERSION} \ - --file ./${IMAGE_NAME}/Dockerfile \ - ./${IMAGE_NAME} + TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" + echo ::set-output name=build_args::VERSION=${VERSION} + echo ::set-output name=image-name::${IMAGE_NAME} + echo ::set-output name=tags::${TAGS} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx - id: buildx - uses: crazy-max/ghaction-docker-buildx@v3 - - name: Buildx (build) - run: | - docker buildx build \ - --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }} - - name: Login to Docker Hub Registry - if: success() - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - run: echo "${DOCKERHUB_PASSWORD}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin - - name: Buildx (push) - if: success() - run: | - docker buildx build \ - --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: github.event_name != 'pull_request' + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Build + uses: docker/build-push-action@v2 + with: + context: ./${{ steps.prepare.outputs.image-name }} + file: ./${{ steps.prepare.outputs.image-name }}/Dockerfile + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x + push: ${{ github.event_name != 'pull_request' }} + build-args: ${{ steps.prepare.outputs.build_args }} + tags: ${{ steps.prepare.outputs.tags }} - name: Clear if: always() run: | From a092b8c2a8d4c235abda72da79a98e1c610a5229 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 7 Nov 2020 14:08:17 +0800 Subject: [PATCH 057/100] qbittorrent: update workflow Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/qbittorrent.yml | 49 +++++++++++++++---------------- 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/.github/workflows/qbittorrent.yml b/.github/workflows/qbittorrent.yml index 00612f0e..04c1df25 100644 --- a/.github/workflows/qbittorrent.yml +++ b/.github/workflows/qbittorrent.yml @@ -13,38 +13,37 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - name: Prepare id: prepare run: | VERSION=${{ github.event.client_payload.version }} [[ ! -n $VERSION ]] && VERSION=4.3.0.1 IMAGE_NAME=qbittorrent - DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x - echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ - --build-arg VERSION=${VERSION} \ - --tag gists/${IMAGE_NAME}:latest \ - --tag gists/${IMAGE_NAME}:${VERSION} \ - --file ./${IMAGE_NAME}/Dockerfile \ - ./${IMAGE_NAME} + TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" + echo ::set-output name=build_args::VERSION=${VERSION} + echo ::set-output name=image-name::${IMAGE_NAME} + echo ::set-output name=tags::${TAGS} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx - id: buildx - uses: crazy-max/ghaction-docker-buildx@v3 - - name: Buildx (build) - run: | - docker buildx build \ - --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }} - - name: Login to Docker Hub Registry - if: success() - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - run: echo "${DOCKERHUB_PASSWORD}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin - - name: Buildx (push) - if: success() - run: | - docker buildx build \ - --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: github.event_name != 'pull_request' + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Build + uses: docker/build-push-action@v2 + with: + context: ./${{ steps.prepare.outputs.image-name }} + file: ./${{ steps.prepare.outputs.image-name }}/Dockerfile + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x + push: ${{ github.event_name != 'pull_request' }} + build-args: ${{ steps.prepare.outputs.build_args }} + tags: ${{ steps.prepare.outputs.tags }} - name: Clear if: always() run: | From 9c6ab6a0766ce7e8b01bdf7f97aee7c9f9883a6e Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 7 Nov 2020 14:10:07 +0800 Subject: [PATCH 058/100] jekyll: update workflow Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/jekyll.yml | 51 ++++++++++++++++++------------------ 1 file changed, 25 insertions(+), 26 deletions(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 197f1fb2..c170684a 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -13,38 +13,37 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - name: Prepare id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=3.8.7 + [[ ! -n $VERSION ]] && VERSION=3.9.0 IMAGE_NAME=jekyll - DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x - echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ - --build-arg VERSION=${VERSION} \ - --tag gists/${IMAGE_NAME}:latest \ - --tag gists/${IMAGE_NAME}:${VERSION} \ - --file ./${IMAGE_NAME}/Dockerfile \ - ./${IMAGE_NAME} + TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" + echo ::set-output name=build_args::VERSION=${VERSION} + echo ::set-output name=image-name::${IMAGE_NAME} + echo ::set-output name=tags::${TAGS} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx - id: buildx - uses: crazy-max/ghaction-docker-buildx@v3 - - name: Buildx (build) - run: | - docker buildx build \ - --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }} - - name: Login to Docker Hub Registry - if: success() - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - run: echo "${DOCKERHUB_PASSWORD}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin - - name: Buildx (push) - if: success() - run: | - docker buildx build \ - --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: github.event_name != 'pull_request' + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Build + uses: docker/build-push-action@v2 + with: + context: ./${{ steps.prepare.outputs.image-name }} + file: ./${{ steps.prepare.outputs.image-name }}/Dockerfile + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x + push: ${{ github.event_name != 'pull_request' }} + build-args: ${{ steps.prepare.outputs.build_args }} + tags: ${{ steps.prepare.outputs.tags }} - name: Clear if: always() run: | From 79c9e7ac4faca3a5cfe7894ed78d0b5038119b48 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 7 Nov 2020 14:11:37 +0800 Subject: [PATCH 059/100] dnsmasq: update workflow Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/dnsmasq.yml | 48 +++++++++++++++++------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/dnsmasq.yml b/.github/workflows/dnsmasq.yml index df895fbc..8e51b1e9 100644 --- a/.github/workflows/dnsmasq.yml +++ b/.github/workflows/dnsmasq.yml @@ -13,37 +13,37 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - name: Prepare id: prepare run: | VERSION=${{ github.event.client_payload.version }} [[ ! -n $VERSION ]] && VERSION=2.81 IMAGE_NAME=dnsmasq - DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x - echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ - --tag gists/${IMAGE_NAME}:latest \ - --tag gists/${IMAGE_NAME}:${VERSION} \ - --file ./${IMAGE_NAME}/Dockerfile \ - ./${IMAGE_NAME} + TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" + echo ::set-output name=build_args::VERSION=${VERSION} + echo ::set-output name=image-name::${IMAGE_NAME} + echo ::set-output name=tags::${TAGS} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx - id: buildx - uses: crazy-max/ghaction-docker-buildx@v3 - - name: Buildx (build) - run: | - docker buildx build \ - --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }} - - name: Login to Docker Hub Registry - if: success() - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - run: echo "${DOCKERHUB_PASSWORD}" | docker login --username "${DOCKERHUB_USERNAME}" --password-stdin - - name: Buildx (push) - if: success() - run: | - docker buildx build \ - --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: github.event_name != 'pull_request' + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Build + uses: docker/build-push-action@v2 + with: + context: ./${{ steps.prepare.outputs.image-name }} + file: ./${{ steps.prepare.outputs.image-name }}/Dockerfile + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x + push: ${{ github.event_name != 'pull_request' }} + build-args: ${{ steps.prepare.outputs.build_args }} + tags: ${{ steps.prepare.outputs.tags }} - name: Clear if: always() run: | From f6a5aae4ca111697b1b8e8495419f8f8f7a6c181 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 7 Nov 2020 14:13:59 +0800 Subject: [PATCH 060/100] dnscrypt-proxy: update workflow Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/dnscrypt-proxy.yml | 49 ++++++++++++++-------------- 1 file changed, 25 insertions(+), 24 deletions(-) diff --git a/.github/workflows/dnscrypt-proxy.yml b/.github/workflows/dnscrypt-proxy.yml index 3169a10d..2834e68c 100644 --- a/.github/workflows/dnscrypt-proxy.yml +++ b/.github/workflows/dnscrypt-proxy.yml @@ -13,36 +13,37 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - name: Prepare id: prepare run: | VERSION=${{ github.event.client_payload.version }} [[ ! -n $VERSION ]] && VERSION=2.0.42 - DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x - echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ - --tag gists/dnscrypt-proxy:latest \ - --tag gists/dnscrypt-proxy:${VERSION} \ - --file ./dnscrypt/proxy/Dockerfile \ - ./dnscrypt/proxy + IMAGE_NAME=dnscrypt-proxy + TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" + echo ::set-output name=build_args::VERSION=${VERSION} + echo ::set-output name=image-name::${IMAGE_NAME} + echo ::set-output name=tags::${TAGS} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx - id: buildx - uses: crazy-max/ghaction-docker-buildx@v3 - - name: Buildx (build) - run: | - docker buildx build \ - --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }} - - name: Login to Docker Hub Registry - if: success() - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - run: echo "${DOCKERHUB_PASSWORD}" | docker login --username "${DOCKERHUB_USERNAME}" --password-stdin - - name: Buildx (push) - if: success() - run: | - docker buildx build \ - --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: github.event_name != 'pull_request' + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Build + uses: docker/build-push-action@v2 + with: + context: ./dnscrypt/proxy + file: ./dnscrypt/proxy/Dockerfile + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x + push: ${{ github.event_name != 'pull_request' }} + build-args: ${{ steps.prepare.outputs.build_args }} + tags: ${{ steps.prepare.outputs.tags }} - name: Clear if: always() run: | From 92b97b2bbe34978de0467f2905311faa01653c36 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 7 Nov 2020 14:15:50 +0800 Subject: [PATCH 061/100] dnscrypt-wrapper: update workflow Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/dnscrypt-wrapper.yml | 50 +++++++++++++------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/dnscrypt-wrapper.yml b/.github/workflows/dnscrypt-wrapper.yml index 6df67c8d..1f219afd 100644 --- a/.github/workflows/dnscrypt-wrapper.yml +++ b/.github/workflows/dnscrypt-wrapper.yml @@ -13,37 +13,37 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - name: Prepare id: prepare run: | VERSION=${{ github.event.client_payload.version }} [[ ! -n $VERSION ]] && VERSION=0.4.2 - DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x - echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ - --build-arg VERSION=${VERSION} \ - --tag gists/dnscrypt-wrapper:latest \ - --tag gists/dnscrypt-wrapper:${VERSION} \ - --file ./dnscrypt/wrapper/Dockerfile \ - ./dnscrypt/wrapper + IMAGE_NAME=dnscrypt-wrapper + TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" + echo ::set-output name=build_args::VERSION=${VERSION} + echo ::set-output name=image-name::${IMAGE_NAME} + echo ::set-output name=tags::${TAGS} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx - id: buildx - uses: crazy-max/ghaction-docker-buildx@v3 - - name: Buildx (build) - run: | - docker buildx build \ - --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }} - - name: Login to Docker Hub Registry - if: success() - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - run: echo "${DOCKERHUB_PASSWORD}" | docker login --username "${DOCKERHUB_USERNAME}" --password-stdin - - name: Buildx (push) - if: success() - run: | - docker buildx build \ - --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: github.event_name != 'pull_request' + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Build + uses: docker/build-push-action@v2 + with: + context: ./dnscrypt/wrapper + file: ./dnscrypt/wrapper/Dockerfile + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x + push: ${{ github.event_name != 'pull_request' }} + build-args: ${{ steps.prepare.outputs.build_args }} + tags: ${{ steps.prepare.outputs.tags }} - name: Clear if: always() run: | From 026a5ba627fa05098d93e22d0c552622efb4a5c1 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 7 Nov 2020 14:18:03 +0800 Subject: [PATCH 062/100] lighttpd: update workflow Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/lighttpd.yml | 48 +++++++++++++++++----------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/lighttpd.yml b/.github/workflows/lighttpd.yml index d83e05e1..7d3ada45 100644 --- a/.github/workflows/lighttpd.yml +++ b/.github/workflows/lighttpd.yml @@ -13,37 +13,37 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - name: Prepare id: prepare run: | VERSION=${{ github.event.client_payload.version }} [[ ! -n $VERSION ]] && VERSION=1.4.55 IMAGE_NAME=lighttpd - DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x - echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ - --tag gists/${IMAGE_NAME}:latest \ - --tag gists/${IMAGE_NAME}:${VERSION} \ - --file ./${IMAGE_NAME}/Dockerfile \ - ./${IMAGE_NAME} + TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" + echo ::set-output name=build_args::VERSION=${VERSION} + echo ::set-output name=image-name::${IMAGE_NAME} + echo ::set-output name=tags::${TAGS} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx - id: buildx - uses: crazy-max/ghaction-docker-buildx@v3 - - name: Buildx (build) - run: | - docker buildx build \ - --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }} - - name: Login to Docker Hub Registry - if: success() - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - run: echo "${DOCKERHUB_PASSWORD}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin - - name: Buildx (push) - if: success() - run: | - docker buildx build \ - --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: github.event_name != 'pull_request' + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Build + uses: docker/build-push-action@v2 + with: + context: ./${{ steps.prepare.outputs.image-name }} + file: ./${{ steps.prepare.outputs.image-name }}/Dockerfile + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x + push: ${{ github.event_name != 'pull_request' }} + build-args: ${{ steps.prepare.outputs.build_args }} + tags: ${{ steps.prepare.outputs.tags }} - name: Clear if: always() run: | From 4c56a5407acda482c9922e1cb1cc21a967b98c30 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Mon, 16 Nov 2020 12:56:25 +0800 Subject: [PATCH 063/100] libtorrent-rasterbar: 2.0.1 --- .github/workflows/libtorrent-rasterbar.yml | 2 +- libtorrent-rasterbar/Dockerfile | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/libtorrent-rasterbar.yml b/.github/workflows/libtorrent-rasterbar.yml index d4826299..a24f9331 100644 --- a/.github/workflows/libtorrent-rasterbar.yml +++ b/.github/workflows/libtorrent-rasterbar.yml @@ -12,7 +12,7 @@ on: env: DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - VERSION: 2.0.0 + VERSION: 2.0.1 jobs: build386: diff --git a/libtorrent-rasterbar/Dockerfile b/libtorrent-rasterbar/Dockerfile index 670eda9b..6428aa88 100644 --- a/libtorrent-rasterbar/Dockerfile +++ b/libtorrent-rasterbar/Dockerfile @@ -12,11 +12,10 @@ RUN set -ex && \ openssl-dev \ make \ tar && \ - # mkdir -p /tmp/libtorrent-rasterbar && \ - # cd /tmp/libtorrent-rasterbar/ && \ - # curl -sSL https://github.com/arvidn/libtorrent/releases/download/${VERSION%.*}/libtorrent-rasterbar-$VERSION.tar.gz | tar xz --strip 1 && \ - cd /tmp && \ - git clone https://github.com/arvidn/libtorrent.git && cd libtorrent && git submodule update --init && \ + mkdir -p /tmp/libtorrent-rasterbar && \ + cd /tmp/libtorrent-rasterbar/ && \ + #curl -sSL https://github.com/arvidn/libtorrent/releases/download/v${VERSION%.*}/libtorrent-rasterbar-$VERSION.tar.gz | tar xz --strip 1 && \ + curl -sSL https://github.com/arvidn/libtorrent/releases/download/v${VERSION}/libtorrent-rasterbar-$VERSION.tar.gz | tar xz --strip 1 && \ cmake -B builddir \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_CXX_STANDARD=17 \ From 93cfc04406600cf2a7a297242160df8aa139c8b6 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Fri, 20 Nov 2020 18:06:59 +0800 Subject: [PATCH 064/100] frp: 0.34.3 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/frp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/frp.yml b/.github/workflows/frp.yml index 8180eb5b..572fc89b 100644 --- a/.github/workflows/frp.yml +++ b/.github/workflows/frp.yml @@ -19,7 +19,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=0.34.2 + [[ ! -n $VERSION ]] && VERSION=0.34.3 IMAGE_NAME=frp TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" echo ::set-output name=build_args::VERSION=${VERSION} From 0c734f44dfcea689bc469436f6f8db9418b6b81e Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Fri, 20 Nov 2020 18:07:26 +0800 Subject: [PATCH 065/100] v2ray: 4.33.0 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/v2ray.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/v2ray.yml b/.github/workflows/v2ray.yml index 86a65f4e..d8b2b7c8 100644 --- a/.github/workflows/v2ray.yml +++ b/.github/workflows/v2ray.yml @@ -19,7 +19,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=4.32.1 + [[ ! -n $VERSION ]] && VERSION=4.33.0 IMAGE_NAME=v2ray TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" echo ::set-output name=build_args::VERSION=${VERSION} From 22fc1a78156ec8d522664e8f71a920000c4b7d49 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Thu, 26 Nov 2020 11:06:24 +0800 Subject: [PATCH 066/100] v2ray: v4.33.1 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/v2ray.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/v2ray.yml b/.github/workflows/v2ray.yml index d8b2b7c8..c7f4eea4 100644 --- a/.github/workflows/v2ray.yml +++ b/.github/workflows/v2ray.yml @@ -19,7 +19,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=4.33.0 + [[ ! -n $VERSION ]] && VERSION=4.33.1 IMAGE_NAME=v2ray TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" echo ::set-output name=build_args::VERSION=${VERSION} From 6e10ab1aaf7abaf6acb3d90ccc3959097e866414 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Mon, 30 Nov 2020 13:46:52 +0800 Subject: [PATCH 067/100] qbittorrent: 4.3.1 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/qbittorrent.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/qbittorrent.yml b/.github/workflows/qbittorrent.yml index 04c1df25..1a771047 100644 --- a/.github/workflows/qbittorrent.yml +++ b/.github/workflows/qbittorrent.yml @@ -19,7 +19,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=4.3.0.1 + [[ ! -n $VERSION ]] && VERSION=4.3.1 IMAGE_NAME=qbittorrent TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" echo ::set-output name=build_args::VERSION=${VERSION} From 30ce05ff44842179cbf76363dc9746fc8ebc2695 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Wed, 9 Dec 2020 14:04:15 +0800 Subject: [PATCH 068/100] Revert "v2ray: v4.33.1" This reverts commit 22fc1a78156ec8d522664e8f71a920000c4b7d49. --- .github/workflows/v2ray.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/v2ray.yml b/.github/workflows/v2ray.yml index c7f4eea4..d8b2b7c8 100644 --- a/.github/workflows/v2ray.yml +++ b/.github/workflows/v2ray.yml @@ -19,7 +19,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=4.33.1 + [[ ! -n $VERSION ]] && VERSION=4.33.0 IMAGE_NAME=v2ray TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" echo ::set-output name=build_args::VERSION=${VERSION} From 5316c2250d6e200a48d737286f36217716c49550 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Wed, 9 Dec 2020 14:50:47 +0800 Subject: [PATCH 069/100] v2ray: update Dockerfile Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- v2ray/Dockerfile | 17 ++++----- v2ray/config.json | 94 +++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 86 insertions(+), 25 deletions(-) diff --git a/v2ray/Dockerfile b/v2ray/Dockerfile index abc1c6d4..59343805 100644 --- a/v2ray/Dockerfile +++ b/v2ray/Dockerfile @@ -15,24 +15,23 @@ RUN set -xe && \ curl \ git \ libcap && \ - mkdir -p /etc/v2ray /root/v2ray-src /usr/bin/v2ray && \ + mkdir -p /root/v2ray-src && \ cd /root/v2ray-src && \ curl -sSL https://github.com/v2fly/v2ray-core/archive/v$VERSION.tar.gz | tar xz --strip 1 && \ LDFLAGS="-s -w -X v2ray.com/core.codename=user -X v2ray.com/core.build=$(date -u +'%Y-%m-%dT%H:%M:%SZ') -X v2ray.com/core.version=v$VERSION" && \ - go build -ldflags "$LDFLAGS" -v -o /usr/bin/v2ray/v2ray ./main && \ - go build -ldflags "$LDFLAGS" -v -o /usr/bin/v2ray/v2ctl -tags confonly ./infra/control/main && \ - ls /usr/bin/v2ray/v2* | xargs -n1 setcap 'cap_net_bind_service=+ep' && \ - curl -sSL https://github.com/v2ray/geoip/raw/release/geoip.dat -o /usr/bin/v2ray/geoip.dat && \ - curl -sSL https://github.com/v2ray/domain-list-community/raw/release/dlc.dat -o /usr/bin/v2ray/geosite.dat + go build -ldflags "$LDFLAGS" -v -o /v2ray ./main && \ + go build -ldflags "$LDFLAGS" -v -o /v2ctl -tags confonly ./infra/control/main && \ + ls /v2* | xargs -n1 setcap 'cap_net_bind_service=+ep' && \ + curl -sSL https://github.com/v2ray/geoip/raw/release/geoip.dat -o /geoip.dat && \ + curl -sSL https://github.com/v2ray/domain-list-community/raw/release/dlc.dat -o /geosite.dat FROM alpine:3.12 -ENV PATH /usr/bin/v2ray:$PATH - RUN apk add --no-cache ca-certificates && \ mkdir -p /var/log/v2ray -COPY --from=builder /usr/bin/v2ray /usr/bin/v2ray/ +COPY --from=builder /v2* /usr/bin/ +COPY --from=builder /geo* /usr/bin/ COPY config.json /etc/v2ray/ CMD ["v2ray", "-config=/etc/v2ray/config.json"] diff --git a/v2ray/config.json b/v2ray/config.json index 105e7524..281a1176 100644 --- a/v2ray/config.json +++ b/v2ray/config.json @@ -1,25 +1,87 @@ { - "log" : { - "access": "/var/log/v2ray/access.log", - "error": "/var/log/v2ray/error.log", + "log": { + // "access": "/path/to/access/log/file", + // "error": "/path/to/error/log/file", + // Log level, one of "debug", "info", "warning", "error", "none" "loglevel": "warning" }, - "inbound": { + "inbounds": [{ "port": 1080, "listen": "0.0.0.0", - "protocol": "vmess", + "tag": "socks-inbound", + "protocol": "socks", "settings": { - "clients": [ - { - "id": "60ca58e9-003e-4c01-98de-c2223ae49153", - "level": 1, - "alterId": 64 - } - ] + "auth": "noauth", + "udp": false, + "ip": "127.0.0.1" + }, + + "sniffing": { + "enabled": true, + "destOverride": ["http", "tls"] } - }, - "outbound": { + }], + "outbounds": [{ "protocol": "freedom", - "settings": {} - } + "settings": {}, + "tag": "direct" + },{ + "protocol": "blackhole", + "settings": {}, + "tag": "blocked" + }], + + "routing": { + "domainStrategy": "IPOnDemand", + "rules":[ + { + "type": "field", + "ip": ["geoip:private"], + "outboundTag": "blocked" + }, + { + "type": "field", + "domain": ["geosite:category-ads"], + "outboundTag": "blocked" + } + ] + }, + + "dns": { + "hosts": { + "domain:v2ray.com": "www.vicemc.net", + "domain:github.io": "pages.github.com", + "domain:wikipedia.org": "www.wikimedia.org", + "domain:shadowsocks.org": "electronicsrealm.com" + }, + "servers": [ + "1.1.1.1", + { + "address": "114.114.114.114", + "port": 53, + "domains": [ + "geosite:cn" + ] + }, + "8.8.8.8", + "localhost" + ] + }, + + "policy": { + "levels": { + "0": { + "uplinkOnly": 0, + "downlinkOnly": 0 + } + }, + "system": { + "statsInboundUplink": false, + "statsInboundDownlink": false, + "statsOutboundUplink": false, + "statsOutboundDownlink": false + } + }, + + "other": {} } From d30dfcd1c5dd80437dd96f095de5adca218dd49c Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sun, 13 Dec 2020 14:01:27 +0800 Subject: [PATCH 070/100] xray: add, version 1.1.3 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/xray.yml | 50 ++++++++++++++++++++++++++++++++++++++ xray/Dockerfile | 36 +++++++++++++++++++++++++++ xray/README.md | 24 ++++++++++++++++++ xray/config.json | 19 +++++++++++++++ 4 files changed, 129 insertions(+) create mode 100644 .github/workflows/xray.yml create mode 100644 xray/Dockerfile create mode 100644 xray/README.md create mode 100644 xray/config.json diff --git a/.github/workflows/xray.yml b/.github/workflows/xray.yml new file mode 100644 index 00000000..b528103b --- /dev/null +++ b/.github/workflows/xray.yml @@ -0,0 +1,50 @@ +name: xray + +on: + push: + branches: [ master ] + paths: + - '.github/workflows/xray.yml' + - '!xray/**' + repository_dispatch: + types: xray-build + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Prepare + id: prepare + run: | + VERSION=${{ github.event.client_payload.version }} + [[ ! -n $VERSION ]] && VERSION=1.1.3 + IMAGE_NAME=xray + TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" + echo ::set-output name=build_args::VERSION=${VERSION} + echo ::set-output name=image-name::${IMAGE_NAME} + echo ::set-output name=tags::${TAGS} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: github.event_name != 'pull_request' + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Build + uses: docker/build-push-action@v2 + with: + context: ./${{ steps.prepare.outputs.image-name }} + file: ./${{ steps.prepare.outputs.image-name }}/Dockerfile + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x + push: ${{ github.event_name != 'pull_request' }} + build-args: ${{ steps.prepare.outputs.build_args }} + tags: ${{ steps.prepare.outputs.tags }} + - name: Clear + if: always() + run: | + rm -rf ${HOME}/.docker/config.json diff --git a/xray/Dockerfile b/xray/Dockerfile new file mode 100644 index 00000000..fb357681 --- /dev/null +++ b/xray/Dockerfile @@ -0,0 +1,36 @@ +FROM --platform=$BUILDPLATFORM golang:alpine AS builder + +ARG TARGETPLATFORM +ARG TARGETOS +ARG TARGETARCH +ARG VERSION +ARG CGO_ENABLED=on + +ENV GOOS=$TARGETOS \ + GOARCH=$TARGETARCH + +RUN set -xe && \ + apk add --no-cache --virtual .build-deps \ + build-base \ + curl \ + git \ + libcap && \ + mkdir -p /root/xray-src && \ + cd /root/xray-src && \ + curl -sSL https://github.com/XTLS/Xray-core/archive/v$VERSION.tar.gz | tar xz --strip 1 && \ + LDFLAGS="-s -w -buildid=" && \ + go build -v -o /xray -trimpath -ldflags "$LDFLAGS" ./main && \ + setcap 'cap_net_bind_service=+ep' /xray && \ + curl -sSL https://github.com/v2ray/geoip/raw/release/geoip.dat -o /geoip.dat && \ + curl -sSL https://github.com/v2ray/domain-list-community/raw/release/dlc.dat -o /geosite.dat + +FROM alpine:3.12 + +RUN apk add --no-cache ca-certificates && \ + mkdir -p /var/log/xray + +COPY --from=builder /xray /usr/bin/ +COPY --from=builder /geo* /usr/bin/ +COPY config.json /etc/xray/ + +CMD ["xray", "-config=/etc/xray/config.json"] diff --git a/xray/README.md b/xray/README.md new file mode 100644 index 00000000..e1e46f57 --- /dev/null +++ b/xray/README.md @@ -0,0 +1,24 @@ +![](https://images.microbadger.com/badges/version/gists/xray.svg) ![](https://images.microbadger.com/badges/image/gists/xray.svg) + +Dockerfile + +Automatically built by Github Actions + +#### Creating an instance: + + docker run \ + -d \ + --name xray \ + -p 12345:1080 \ + -v $(pwd)/config.json:/etc/xray/config.json \ + gists/xray + +#### Compose example: + + v2ray: + image: gists/xray + ports: + - "12345:1080" + volumes: + - ./config.json:/etc/xray/config.json + restart: always diff --git a/xray/config.json b/xray/config.json new file mode 100644 index 00000000..8f880d1d --- /dev/null +++ b/xray/config.json @@ -0,0 +1,19 @@ +{ + "inbounds": [{ + "port": 9000, + "protocol": "vmess", + "settings": { + "clients": [ + { + "id": "1eb6e917-774b-4a84-aff6-b058577c60a5", + "level": 1, + "alterId": 64 + } + ] + } + }], + "outbounds": [{ + "protocol": "freedom", + "settings": {} + }] +} From d9addd17c2408df0b1dd2e6dbf38e861dc86fa00 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Mon, 14 Dec 2020 12:25:59 +0800 Subject: [PATCH 071/100] libtorrent-rasterbar: update download url Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- libtorrent-rasterbar/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libtorrent-rasterbar/Dockerfile b/libtorrent-rasterbar/Dockerfile index 6428aa88..d3f01d26 100644 --- a/libtorrent-rasterbar/Dockerfile +++ b/libtorrent-rasterbar/Dockerfile @@ -14,8 +14,7 @@ RUN set -ex && \ tar && \ mkdir -p /tmp/libtorrent-rasterbar && \ cd /tmp/libtorrent-rasterbar/ && \ - #curl -sSL https://github.com/arvidn/libtorrent/releases/download/v${VERSION%.*}/libtorrent-rasterbar-$VERSION.tar.gz | tar xz --strip 1 && \ - curl -sSL https://github.com/arvidn/libtorrent/releases/download/v${VERSION}/libtorrent-rasterbar-$VERSION.tar.gz | tar xz --strip 1 && \ + curl -sSL https://github.com/arvidn/libtorrent/releases/latest/download/libtorrent-rasterbar-$VERSION.tar.gz | tar xz --strip 1 && \ cmake -B builddir \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_CXX_STANDARD=17 \ From 523ce6cf3f972ad34e9bb4e3b3533f2119e60997 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Mon, 14 Dec 2020 12:32:13 +0800 Subject: [PATCH 072/100] update shadowsockss-libev download url Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- shadowsocks/libev/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shadowsocks/libev/Dockerfile b/shadowsocks/libev/Dockerfile index fc52627a..01d9323d 100644 --- a/shadowsocks/libev/Dockerfile +++ b/shadowsocks/libev/Dockerfile @@ -26,7 +26,7 @@ RUN set -ex && \ c-ares-dev && \ mkdir -p /tmp/ss && \ cd /tmp/ss && \ - curl -sSL https://github.com/shadowsocks/shadowsocks-libev/releases/download/v$VERSION/shadowsocks-libev-$VERSION.tar.gz | \ + curl -sSL https://github.com/shadowsocks/shadowsocks-libev/releases/latest/download/shadowsocks-libev-$VERSION.tar.gz | \ tar xz --strip 1 && \ ./configure --prefix=/usr --disable-documentation && \ make -j $((`nproc`+1)) install && \ From a19fda1dfda580f2d454b1d17a1176aa321fb3c8 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Mon, 28 Dec 2020 12:49:42 +0800 Subject: [PATCH 073/100] xray: 1.1.5 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/xray.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/xray.yml b/.github/workflows/xray.yml index b528103b..d5c2b91c 100644 --- a/.github/workflows/xray.yml +++ b/.github/workflows/xray.yml @@ -19,7 +19,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=1.1.3 + [[ ! -n $VERSION ]] && VERSION=1.1.5 IMAGE_NAME=xray TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" echo ::set-output name=build_args::VERSION=${VERSION} From 53d86d23cd91a5a28bdeda0b419ba61c728d85c2 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 2 Jan 2021 12:30:30 +0800 Subject: [PATCH 074/100] xray: 1.2.0 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/xray.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/xray.yml b/.github/workflows/xray.yml index d5c2b91c..ca32ce6c 100644 --- a/.github/workflows/xray.yml +++ b/.github/workflows/xray.yml @@ -19,7 +19,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=1.1.5 + [[ ! -n $VERSION ]] && VERSION=1.2.0 IMAGE_NAME=xray TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" echo ::set-output name=build_args::VERSION=${VERSION} From b685481498f20752ed009e800a2b07364b03ac8c Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Mon, 4 Jan 2021 21:28:08 +0800 Subject: [PATCH 075/100] v2ray: 4.34.0 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/v2ray.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/v2ray.yml b/.github/workflows/v2ray.yml index d8b2b7c8..e9929c4c 100644 --- a/.github/workflows/v2ray.yml +++ b/.github/workflows/v2ray.yml @@ -19,7 +19,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=4.33.0 + [[ ! -n $VERSION ]] && VERSION=4.34.0 IMAGE_NAME=v2ray TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" echo ::set-output name=build_args::VERSION=${VERSION} From 272aa2f08dea021d917a612058d56b85b82ce97b Mon Sep 17 00:00:00 2001 From: Mengyang Li Date: Mon, 4 Jan 2021 21:26:50 -0800 Subject: [PATCH 076/100] Update README.md --- qbittorrent/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbittorrent/README.md b/qbittorrent/README.md index 6a2a59a2..8c7cda66 100644 --- a/qbittorrent/README.md +++ b/qbittorrent/README.md @@ -30,7 +30,7 @@ Automatically built by Github Actions -p 6881:6881 \ -p 6881:6881/udp \ -p 8080:8080 \ - -v /path/data:/data + -v /path/data:/data \ gists/qbittorrent #### Compose example: From 892d28467c38818468d56b8d49e795aa97ec794f Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Wed, 6 Jan 2021 11:51:20 +0800 Subject: [PATCH 077/100] qbittorrent: 4.3.2 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/qbittorrent.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/qbittorrent.yml b/.github/workflows/qbittorrent.yml index 1a771047..1c6c64a7 100644 --- a/.github/workflows/qbittorrent.yml +++ b/.github/workflows/qbittorrent.yml @@ -19,7 +19,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=4.3.1 + [[ ! -n $VERSION ]] && VERSION=4.3.2 IMAGE_NAME=qbittorrent TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" echo ::set-output name=build_args::VERSION=${VERSION} From 310de5b1e21d137da006a7192c4bf6c61573a874 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Fri, 8 Jan 2021 11:12:26 +0800 Subject: [PATCH 078/100] libtorrent-rasterbar: 2.0.2 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/libtorrent-rasterbar.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/libtorrent-rasterbar.yml b/.github/workflows/libtorrent-rasterbar.yml index a24f9331..c2b99a19 100644 --- a/.github/workflows/libtorrent-rasterbar.yml +++ b/.github/workflows/libtorrent-rasterbar.yml @@ -12,7 +12,7 @@ on: env: DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - VERSION: 2.0.1 + VERSION: 2.0.2 jobs: build386: From 707c3d7fa4d701654d04ab6484476668c0497f2f Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sun, 10 Jan 2021 21:27:00 +0800 Subject: [PATCH 079/100] xray: 1.2.1 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/xray.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/xray.yml b/.github/workflows/xray.yml index ca32ce6c..331d7c35 100644 --- a/.github/workflows/xray.yml +++ b/.github/workflows/xray.yml @@ -19,7 +19,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=1.2.0 + [[ ! -n $VERSION ]] && VERSION=1.2.1 IMAGE_NAME=xray TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" echo ::set-output name=build_args::VERSION=${VERSION} From 3dc2b840c69f8c3b3134be074b5d662fc9eb1e4f Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 16 Jan 2021 08:14:30 +0800 Subject: [PATCH 080/100] xray: 1.2.2 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/xray.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/xray.yml b/.github/workflows/xray.yml index 331d7c35..9d9f859f 100644 --- a/.github/workflows/xray.yml +++ b/.github/workflows/xray.yml @@ -19,7 +19,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=1.2.1 + [[ ! -n $VERSION ]] && VERSION=1.2.2 IMAGE_NAME=xray TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" echo ::set-output name=build_args::VERSION=${VERSION} From 57933582f9504e04e0128fcf12b1abccc218fe8f Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Wed, 20 Jan 2021 11:14:37 +0800 Subject: [PATCH 081/100] frp: 0.35.0 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/frp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/frp.yml b/.github/workflows/frp.yml index 572fc89b..873e8832 100644 --- a/.github/workflows/frp.yml +++ b/.github/workflows/frp.yml @@ -19,7 +19,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=0.34.3 + [[ ! -n $VERSION ]] && VERSION=0.35.0 IMAGE_NAME=frp TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" echo ::set-output name=build_args::VERSION=${VERSION} From 2a6444d95876e92e3cb3609938912c7c5c24274d Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Thu, 21 Jan 2021 11:27:48 +0800 Subject: [PATCH 082/100] qbittorrent: 4.3.3 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/qbittorrent.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/qbittorrent.yml b/.github/workflows/qbittorrent.yml index 1c6c64a7..d508d0f1 100644 --- a/.github/workflows/qbittorrent.yml +++ b/.github/workflows/qbittorrent.yml @@ -19,7 +19,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=4.3.2 + [[ ! -n $VERSION ]] && VERSION=4.3.3 IMAGE_NAME=qbittorrent TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" echo ::set-output name=build_args::VERSION=${VERSION} From 060b67eab46edc5fb603720e42df622ff06d32fc Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 23 Jan 2021 08:26:18 +0800 Subject: [PATCH 083/100] xray: 1.2.3 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/xray.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/xray.yml b/.github/workflows/xray.yml index 9d9f859f..ba62af93 100644 --- a/.github/workflows/xray.yml +++ b/.github/workflows/xray.yml @@ -19,7 +19,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=1.2.2 + [[ ! -n $VERSION ]] && VERSION=1.2.3 IMAGE_NAME=xray TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" echo ::set-output name=build_args::VERSION=${VERSION} From 2d785a8a25d4b0e3e51b560d43213b91accb1e02 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Mon, 25 Jan 2021 16:27:28 +0800 Subject: [PATCH 084/100] frp: 0.35.1 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/frp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/frp.yml b/.github/workflows/frp.yml index 873e8832..bfb15ebb 100644 --- a/.github/workflows/frp.yml +++ b/.github/workflows/frp.yml @@ -19,7 +19,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=0.35.0 + [[ ! -n $VERSION ]] && VERSION=0.35.1 IMAGE_NAME=frp TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" echo ::set-output name=build_args::VERSION=${VERSION} From 76863afa5fc09f82b6d95f58a4958c214312133a Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Thu, 28 Jan 2021 16:14:13 +0800 Subject: [PATCH 085/100] base on alpine 3.13 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- dnscrypt/proxy/Dockerfile | 2 +- dnscrypt/wrapper/Dockerfile | 2 +- dnsmasq/Dockerfile | 2 +- docker-compose-bin/Dockerfile | 2 +- frp/Dockerfile | 2 +- haproxy/Dockerfile | 2 +- jekyll/Dockerfile | 2 +- libtorrent-rasterbar/Dockerfile | 2 +- lighttpd/Dockerfile | 2 +- mariadb/Dockerfile | 2 +- mpd/Dockerfile | 2 +- nfs-server/Dockerfile | 2 +- php/fpm/Dockerfile | 2 +- pptpd/Dockerfile | 2 +- pure-ftpd/Dockerfile | 2 +- rsync/Dockerfile | 2 +- rutorrent/Dockerfile | 2 +- samba-server/Dockerfile | 2 +- shadowsocks/libev/Dockerfile | 2 +- shadowsocks/v2ray-plugin/Dockerfile | 2 +- smartmontools/Dockerfile | 2 +- speedtest-cli/Dockerfile | 2 +- transmission/Dockerfile | 2 +- trojan-go/Dockerfile | 2 +- trojan/Dockerfile | 2 +- v2ray/Dockerfile | 2 +- xray/Dockerfile | 2 +- 27 files changed, 27 insertions(+), 27 deletions(-) diff --git a/dnscrypt/proxy/Dockerfile b/dnscrypt/proxy/Dockerfile index d3bbc596..bc4fac12 100644 --- a/dnscrypt/proxy/Dockerfile +++ b/dnscrypt/proxy/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.12 +FROM alpine:3.13 ARG VERSION diff --git a/dnscrypt/wrapper/Dockerfile b/dnscrypt/wrapper/Dockerfile index 71287dbf..1eccdbab 100644 --- a/dnscrypt/wrapper/Dockerfile +++ b/dnscrypt/wrapper/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.12 +FROM alpine:3.13 ARG VERSION diff --git a/dnsmasq/Dockerfile b/dnsmasq/Dockerfile index ca4ca65a..57be972c 100644 --- a/dnsmasq/Dockerfile +++ b/dnsmasq/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.12 +FROM alpine:3.13 ARG VERSION diff --git a/docker-compose-bin/Dockerfile b/docker-compose-bin/Dockerfile index 7a7392b8..c37db0ff 100644 --- a/docker-compose-bin/Dockerfile +++ b/docker-compose-bin/Dockerfile @@ -26,7 +26,7 @@ RUN set -xe && \ pyinstaller docker-compose.spec && \ mv dist/docker-compose /usr/bin/docker-compose -FROM alpine:3.12 +FROM alpine:3.13 COPY --from=builder /usr/bin/docker-compose /usr/bin/docker-compose # Copy out the generated binary VOLUME /dist diff --git a/frp/Dockerfile b/frp/Dockerfile index 69b5538e..27cecda4 100644 --- a/frp/Dockerfile +++ b/frp/Dockerfile @@ -18,7 +18,7 @@ RUN apk add --no-cache curl build-base git libcap && \ ls /frp* | xargs -n1 setcap 'cap_net_bind_service+ep' && \ cp ./conf/frp* /etc/ -FROM alpine:3.12 +FROM alpine:3.13 COPY --from=builder /frp* /usr/bin/ COPY --from=builder /etc/frp* /etc/ diff --git a/haproxy/Dockerfile b/haproxy/Dockerfile index 2c9a0773..ca64c1d7 100644 --- a/haproxy/Dockerfile +++ b/haproxy/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.12 +FROM alpine:3.13 ARG VERSION diff --git a/jekyll/Dockerfile b/jekyll/Dockerfile index 43f7694e..bfa02a95 100644 --- a/jekyll/Dockerfile +++ b/jekyll/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.12 +FROM alpine:3.13 ARG VERSION diff --git a/libtorrent-rasterbar/Dockerfile b/libtorrent-rasterbar/Dockerfile index d3f01d26..9d8e42da 100644 --- a/libtorrent-rasterbar/Dockerfile +++ b/libtorrent-rasterbar/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.12 +FROM alpine:3.13 ARG VERSION diff --git a/lighttpd/Dockerfile b/lighttpd/Dockerfile index 67bfe8c4..07d166fd 100644 --- a/lighttpd/Dockerfile +++ b/lighttpd/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.12 +FROM alpine:3.13 ARG VERSION diff --git a/mariadb/Dockerfile b/mariadb/Dockerfile index fe32e162..3bdb8962 100644 --- a/mariadb/Dockerfile +++ b/mariadb/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.12 +FROM alpine:3.13 ARG VERSION diff --git a/mpd/Dockerfile b/mpd/Dockerfile index 170e5de5..8317d505 100644 --- a/mpd/Dockerfile +++ b/mpd/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.12 +FROM alpine:3.13 ARG VERSION diff --git a/nfs-server/Dockerfile b/nfs-server/Dockerfile index 84c8b909..716c44b7 100644 --- a/nfs-server/Dockerfile +++ b/nfs-server/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.12 +FROM alpine:3.13 ARG VERSION diff --git a/php/fpm/Dockerfile b/php/fpm/Dockerfile index c01ecc90..7fe89ec2 100644 --- a/php/fpm/Dockerfile +++ b/php/fpm/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.12 +FROM alpine:3.13 ARG VERSION diff --git a/pptpd/Dockerfile b/pptpd/Dockerfile index 551bb6b1..372bb869 100644 --- a/pptpd/Dockerfile +++ b/pptpd/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.12 +FROM alpine:3.13 ARG VERSION diff --git a/pure-ftpd/Dockerfile b/pure-ftpd/Dockerfile index 58441c9d..cb1479a9 100644 --- a/pure-ftpd/Dockerfile +++ b/pure-ftpd/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.12 +FROM alpine:3.13 ARG VERSION diff --git a/rsync/Dockerfile b/rsync/Dockerfile index eb4a29ab..9fb012b7 100644 --- a/rsync/Dockerfile +++ b/rsync/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.12 +FROM alpine:3.13 ARG VERSION diff --git a/rutorrent/Dockerfile b/rutorrent/Dockerfile index b215c8dd..87053089 100644 --- a/rutorrent/Dockerfile +++ b/rutorrent/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.12 +FROM alpine:3.13 ARG VERSION diff --git a/samba-server/Dockerfile b/samba-server/Dockerfile index a0227a12..1d0ca59d 100644 --- a/samba-server/Dockerfile +++ b/samba-server/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.12 +FROM alpine:3.13 ARG VERSION diff --git a/shadowsocks/libev/Dockerfile b/shadowsocks/libev/Dockerfile index 01d9323d..7748471a 100644 --- a/shadowsocks/libev/Dockerfile +++ b/shadowsocks/libev/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.12 +FROM alpine:3.13 ARG VERSION diff --git a/shadowsocks/v2ray-plugin/Dockerfile b/shadowsocks/v2ray-plugin/Dockerfile index dc2ff7a4..98abdcaf 100644 --- a/shadowsocks/v2ray-plugin/Dockerfile +++ b/shadowsocks/v2ray-plugin/Dockerfile @@ -24,7 +24,7 @@ RUN set -xe && \ setcap 'cap_net_bind_service=+ep' /v2ray-plugin -FROM alpine:3.12 +FROM alpine:3.13 COPY --from=builder /v2ray-plugin /usr/bin/ diff --git a/smartmontools/Dockerfile b/smartmontools/Dockerfile index ccc84c63..8c303ef4 100644 --- a/smartmontools/Dockerfile +++ b/smartmontools/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.12 +FROM alpine:3.13 ARG VERSION diff --git a/speedtest-cli/Dockerfile b/speedtest-cli/Dockerfile index 75656fd4..3a335be9 100644 --- a/speedtest-cli/Dockerfile +++ b/speedtest-cli/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:latest +FROM alpine:3.13 ARG VERSION diff --git a/transmission/Dockerfile b/transmission/Dockerfile index d3e77b9a..e227d6d6 100644 --- a/transmission/Dockerfile +++ b/transmission/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.12 +FROM alpine:3.13 ARG VERSION diff --git a/trojan-go/Dockerfile b/trojan-go/Dockerfile index e332431d..0ee32d48 100644 --- a/trojan-go/Dockerfile +++ b/trojan-go/Dockerfile @@ -26,7 +26,7 @@ RUN set -xe && \ curl -sSL https://github.com/v2ray/domain-list-community/raw/release/dlc.dat -o release/geosite.dat -FROM alpine:3.12 +FROM alpine:3.13 COPY --from=builder /root/release /usr/bin/trojan-go COPY --from=builder /root/example/server.json /etc/trojan-go/config.json diff --git a/trojan/Dockerfile b/trojan/Dockerfile index 72ba2eb8..0c8446aa 100644 --- a/trojan/Dockerfile +++ b/trojan/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.12 +FROM alpine:3.13 ARG VERSION diff --git a/v2ray/Dockerfile b/v2ray/Dockerfile index 59343805..9c70f32a 100644 --- a/v2ray/Dockerfile +++ b/v2ray/Dockerfile @@ -25,7 +25,7 @@ RUN set -xe && \ curl -sSL https://github.com/v2ray/geoip/raw/release/geoip.dat -o /geoip.dat && \ curl -sSL https://github.com/v2ray/domain-list-community/raw/release/dlc.dat -o /geosite.dat -FROM alpine:3.12 +FROM alpine:3.13 RUN apk add --no-cache ca-certificates && \ mkdir -p /var/log/v2ray diff --git a/xray/Dockerfile b/xray/Dockerfile index fb357681..f797c5c3 100644 --- a/xray/Dockerfile +++ b/xray/Dockerfile @@ -24,7 +24,7 @@ RUN set -xe && \ curl -sSL https://github.com/v2ray/geoip/raw/release/geoip.dat -o /geoip.dat && \ curl -sSL https://github.com/v2ray/domain-list-community/raw/release/dlc.dat -o /geosite.dat -FROM alpine:3.12 +FROM alpine:3.13 RUN apk add --no-cache ca-certificates && \ mkdir -p /var/log/xray From f9b93ead1caba84ba337a824f133b57a42acb554 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Thu, 28 Jan 2021 16:19:19 +0800 Subject: [PATCH 086/100] php7-fpm: 7.4.14 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/php.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index f550129a..a79e2930 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -19,7 +19,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=7.3.24 + [[ ! -n $VERSION ]] && VERSION=7.4.14 IMAGE_NAME=php TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" echo ::set-output name=build_args::VERSION=${VERSION} From 0076875bfd1cfebc5c691971f53118d86caf1efe Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Thu, 28 Jan 2021 16:21:03 +0800 Subject: [PATCH 087/100] dnscrypt-proxy: 2.0.45 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/dnscrypt-proxy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dnscrypt-proxy.yml b/.github/workflows/dnscrypt-proxy.yml index 2834e68c..92cf56b2 100644 --- a/.github/workflows/dnscrypt-proxy.yml +++ b/.github/workflows/dnscrypt-proxy.yml @@ -19,7 +19,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=2.0.42 + [[ ! -n $VERSION ]] && VERSION=2.0.45 IMAGE_NAME=dnscrypt-proxy TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" echo ::set-output name=build_args::VERSION=${VERSION} From 14e731fee38f5c6b0d429168952fdd52dc99cd51 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Thu, 28 Jan 2021 16:22:44 +0800 Subject: [PATCH 088/100] dnsmasq: 2.84 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/dnsmasq.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dnsmasq.yml b/.github/workflows/dnsmasq.yml index 8e51b1e9..17fed489 100644 --- a/.github/workflows/dnsmasq.yml +++ b/.github/workflows/dnsmasq.yml @@ -19,7 +19,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=2.81 + [[ ! -n $VERSION ]] && VERSION=2.84 IMAGE_NAME=dnsmasq TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" echo ::set-output name=build_args::VERSION=${VERSION} From c2df40afaa5c19f79158e4206e2d415a54a80816 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Thu, 28 Jan 2021 16:23:52 +0800 Subject: [PATCH 089/100] docker-compose-bin: 1.28.2 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/docker-compose-bin.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-compose-bin.yml b/.github/workflows/docker-compose-bin.yml index 8c1a0d30..65a828db 100644 --- a/.github/workflows/docker-compose-bin.yml +++ b/.github/workflows/docker-compose-bin.yml @@ -19,7 +19,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=1.27.4 + [[ ! -n $VERSION ]] && VERSION=1.28.2 IMAGE_NAME=docker-compose-bin TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" echo ::set-output name=build_args::VERSION=${VERSION} From e68ce25a5042bbce2f935d3300bc708d1ed6ef60 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Thu, 28 Jan 2021 16:24:51 +0800 Subject: [PATCH 090/100] haproxy: 2.2.7 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/haproxy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/haproxy.yml b/.github/workflows/haproxy.yml index 416f08be..72ed60e9 100644 --- a/.github/workflows/haproxy.yml +++ b/.github/workflows/haproxy.yml @@ -19,7 +19,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=2.1.10 + [[ ! -n $VERSION ]] && VERSION=2.2.7 IMAGE_NAME=haproxy TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" echo ::set-output name=build_args::VERSION=${VERSION} From 791267bd4b1b7b18b53abc1e54c206777324fc18 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Thu, 28 Jan 2021 16:28:06 +0800 Subject: [PATCH 091/100] lighttpd: 1.4.57 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/lighttpd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lighttpd.yml b/.github/workflows/lighttpd.yml index 7d3ada45..5a1e364e 100644 --- a/.github/workflows/lighttpd.yml +++ b/.github/workflows/lighttpd.yml @@ -19,7 +19,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=1.4.55 + [[ ! -n $VERSION ]] && VERSION=1.4.57 IMAGE_NAME=lighttpd TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" echo ::set-output name=build_args::VERSION=${VERSION} From 1f97097d64d0b0e2e909d522502213b36f006e46 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Thu, 28 Jan 2021 16:29:08 +0800 Subject: [PATCH 092/100] mariadb: 10.5.8 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/mariadb.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mariadb.yml b/.github/workflows/mariadb.yml index cd70f16e..5fdbac2b 100644 --- a/.github/workflows/mariadb.yml +++ b/.github/workflows/mariadb.yml @@ -19,7 +19,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=10.4.15 + [[ ! -n $VERSION ]] && VERSION=10.5.8 IMAGE_NAME=mariadb TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" echo ::set-output name=build_args::VERSION=${VERSION} From 2aa893432c7b21fe36078ecffa2a1deab9510ebb Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Thu, 28 Jan 2021 16:29:46 +0800 Subject: [PATCH 093/100] mpd: 0.22.3 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/mpd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mpd.yml b/.github/workflows/mpd.yml index 647bc1be..a8645e08 100644 --- a/.github/workflows/mpd.yml +++ b/.github/workflows/mpd.yml @@ -19,7 +19,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=0.21.23 + [[ ! -n $VERSION ]] && VERSION=0.22.3 IMAGE_NAME=mpd TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" echo ::set-output name=build_args::VERSION=${VERSION} From 815237910ef528d450c5a3631bc097513f41234a Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Thu, 28 Jan 2021 16:30:33 +0800 Subject: [PATCH 094/100] nfs-utils: 2.5.2 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/nfs-server.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nfs-server.yml b/.github/workflows/nfs-server.yml index 4b5b9acf..bc53fa12 100644 --- a/.github/workflows/nfs-server.yml +++ b/.github/workflows/nfs-server.yml @@ -19,7 +19,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=2.4.3 + [[ ! -n $VERSION ]] && VERSION=2.5.2 IMAGE_NAME=nfs-server TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" echo ::set-output name=build_args::VERSION=${VERSION} From 5a781f97f570de9bcecfbc5ebbb3f881d3dfbc63 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Thu, 28 Jan 2021 16:32:44 +0800 Subject: [PATCH 095/100] rsync: 3.2.3 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/rsync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rsync.yml b/.github/workflows/rsync.yml index 2045fa05..e97118af 100644 --- a/.github/workflows/rsync.yml +++ b/.github/workflows/rsync.yml @@ -19,7 +19,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=3.1.3 + [[ ! -n $VERSION ]] && VERSION=3.2.3 IMAGE_NAME=rsync TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" echo ::set-output name=build_args::VERSION=${VERSION} From 77ffe87313572919d5839552ef7e45556d306304 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Thu, 28 Jan 2021 16:34:40 +0800 Subject: [PATCH 096/100] samba-server: 4.13.3 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/samba-server.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/samba-server.yml b/.github/workflows/samba-server.yml index 7c1a1859..06f1db7c 100644 --- a/.github/workflows/samba-server.yml +++ b/.github/workflows/samba-server.yml @@ -19,7 +19,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=4.12.9 + [[ ! -n $VERSION ]] && VERSION=4.13.3 IMAGE_NAME=samba-server TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" echo ::set-output name=build_args::VERSION=${VERSION} From 5a9e1daedf625c0d1428b6f0ceb424354f10a17d Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Thu, 28 Jan 2021 16:35:55 +0800 Subject: [PATCH 097/100] smartmontools: 7.2 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/smartmontools.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/smartmontools.yml b/.github/workflows/smartmontools.yml index e48d0845..24a65bbb 100644 --- a/.github/workflows/smartmontools.yml +++ b/.github/workflows/smartmontools.yml @@ -19,7 +19,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=7.1 + [[ ! -n $VERSION ]] && VERSION=7.2 IMAGE_NAME=smartmontools TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" echo ::set-output name=build_args::VERSION=${VERSION} From 43b889e870d8440f5340d4a970a658773096f98b Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Thu, 28 Jan 2021 17:14:57 +0800 Subject: [PATCH 098/100] rutorrent: copy error Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- rutorrent/rootfs/etc/nginx/{conf.d => http.d}/rutorrent.conf | 0 rutorrent/rootfs/etc/nginx/nginx.conf | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename rutorrent/rootfs/etc/nginx/{conf.d => http.d}/rutorrent.conf (100%) diff --git a/rutorrent/rootfs/etc/nginx/conf.d/rutorrent.conf b/rutorrent/rootfs/etc/nginx/http.d/rutorrent.conf similarity index 100% rename from rutorrent/rootfs/etc/nginx/conf.d/rutorrent.conf rename to rutorrent/rootfs/etc/nginx/http.d/rutorrent.conf diff --git a/rutorrent/rootfs/etc/nginx/nginx.conf b/rutorrent/rootfs/etc/nginx/nginx.conf index 0863dbb9..20cd4f36 100644 --- a/rutorrent/rootfs/etc/nginx/nginx.conf +++ b/rutorrent/rootfs/etc/nginx/nginx.conf @@ -41,5 +41,5 @@ http { gzip_types text/xml text/css text/javascript text/plain application/json \ application/x-javascript application/xml application/xml+rss; - include conf.d/*.conf; + include http.d/*.conf; } From 49dfd7f29dac95ad599e95d1f7ea80386b1e2aba Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Mon, 1 Feb 2021 10:16:23 +0800 Subject: [PATCH 099/100] xray: 1.2.4 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/xray.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/xray.yml b/.github/workflows/xray.yml index ba62af93..c2a17d6b 100644 --- a/.github/workflows/xray.yml +++ b/.github/workflows/xray.yml @@ -19,7 +19,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=1.2.3 + [[ ! -n $VERSION ]] && VERSION=1.2.4 IMAGE_NAME=xray TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" echo ::set-output name=build_args::VERSION=${VERSION} From 1d03c047737c241718fdf0232a746a7b0c4c93a8 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Sat, 13 Feb 2021 08:31:37 +0800 Subject: [PATCH 100/100] xray: 1.3.0 Signed-off-by: Register <458892+aieu@users.noreply.github.com> --- .github/workflows/xray.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/xray.yml b/.github/workflows/xray.yml index c2a17d6b..48477a16 100644 --- a/.github/workflows/xray.yml +++ b/.github/workflows/xray.yml @@ -19,7 +19,7 @@ jobs: id: prepare run: | VERSION=${{ github.event.client_payload.version }} - [[ ! -n $VERSION ]] && VERSION=1.2.4 + [[ ! -n $VERSION ]] && VERSION=1.3.0 IMAGE_NAME=xray TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest" echo ::set-output name=build_args::VERSION=${VERSION}