|
|
@@ -88,7 +88,7 @@ jobs:
|
|
|
# echo Add other actions to build,
|
|
|
# echo test, and deploy your project.
|
|
|
|
|
|
- build-other1:
|
|
|
+ build-chinadns-ng:
|
|
|
needs: build-basic
|
|
|
runs-on: ubuntu-latest
|
|
|
steps:
|
|
|
@@ -127,6 +127,40 @@ jobs:
|
|
|
cache-from: type=local,src=/tmp/.buildx-cache
|
|
|
cache-to: type=local,dest=/tmp/.buildx-cache-new
|
|
|
|
|
|
+ - name: Move cache
|
|
|
+ run: |
|
|
|
+ rm -rf /tmp/.buildx-cache
|
|
|
+ mv /tmp/.buildx-cache-new /tmp/.buildx-cache
|
|
|
+
|
|
|
+ - name: Image digest
|
|
|
+ run: |
|
|
|
+ echo ${{ steps.docker_build_chinadns_ng.outputs.digest }}
|
|
|
+
|
|
|
+ build-dnscrypt-proxy:
|
|
|
+ needs: build-basic
|
|
|
+ runs-on: ubuntu-latest
|
|
|
+ steps:
|
|
|
+ - name: Check Out Repo
|
|
|
+ uses: actions/checkout@v2
|
|
|
+
|
|
|
+ - name: Set up Docker Buildx
|
|
|
+ id: buildx
|
|
|
+ uses: docker/setup-buildx-action@v1
|
|
|
+
|
|
|
+ - name: Cache Docker layers
|
|
|
+ uses: actions/cache@v2
|
|
|
+ with:
|
|
|
+ path: /tmp/.buildx-cache
|
|
|
+ key: ${{ runner.os }}-buildx-${{ github.sha }}
|
|
|
+ restore-keys: |
|
|
|
+ ${{ runner.os }}-buildx-
|
|
|
+
|
|
|
+ - name: Login to Docker Hub
|
|
|
+ uses: docker/login-action@v1
|
|
|
+ with:
|
|
|
+ username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
|
|
+ password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
|
|
|
+
|
|
|
- name: Build DNSCrypt-Proxy and push
|
|
|
id: docker_build_dnscrypt_proxy
|
|
|
uses: docker/build-push-action@v2
|
|
|
@@ -141,6 +175,40 @@ jobs:
|
|
|
cache-from: type=local,src=/tmp/.buildx-cache
|
|
|
cache-to: type=local,dest=/tmp/.buildx-cache-new
|
|
|
|
|
|
+ - name: Move cache
|
|
|
+ run: |
|
|
|
+ rm -rf /tmp/.buildx-cache
|
|
|
+ mv /tmp/.buildx-cache-new /tmp/.buildx-cache
|
|
|
+
|
|
|
+ - name: Image digest
|
|
|
+ run: |
|
|
|
+ echo ${{ steps.docker_build_dnscrypt_proxy.outputs.digest }}
|
|
|
+
|
|
|
+ build-doh-server:
|
|
|
+ needs: build-basic
|
|
|
+ runs-on: ubuntu-latest
|
|
|
+ steps:
|
|
|
+ - name: Check Out Repo
|
|
|
+ uses: actions/checkout@v2
|
|
|
+
|
|
|
+ - name: Set up Docker Buildx
|
|
|
+ id: buildx
|
|
|
+ uses: docker/setup-buildx-action@v1
|
|
|
+
|
|
|
+ - name: Cache Docker layers
|
|
|
+ uses: actions/cache@v2
|
|
|
+ with:
|
|
|
+ path: /tmp/.buildx-cache
|
|
|
+ key: ${{ runner.os }}-buildx-${{ github.sha }}
|
|
|
+ restore-keys: |
|
|
|
+ ${{ runner.os }}-buildx-
|
|
|
+
|
|
|
+ - name: Login to Docker Hub
|
|
|
+ uses: docker/login-action@v1
|
|
|
+ with:
|
|
|
+ username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
|
|
+ password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
|
|
|
+
|
|
|
- name: Build doh-server and push
|
|
|
id: docker_build_doh_server
|
|
|
uses: docker/build-push-action@v2
|
|
|
@@ -162,11 +230,9 @@ jobs:
|
|
|
|
|
|
- name: Image digest
|
|
|
run: |
|
|
|
- echo ${{ steps.docker_build_chinadns_ng.outputs.digest }}
|
|
|
- echo ${{ steps.docker_build_dnscrypt_proxy.outputs.digest }}
|
|
|
echo ${{ steps.docker_build_doh_server.outputs.digest }}
|
|
|
|
|
|
- build-other2:
|
|
|
+ build-xray:
|
|
|
needs: build-basic
|
|
|
runs-on: ubuntu-latest
|
|
|
steps:
|
|
|
@@ -205,6 +271,40 @@ jobs:
|
|
|
cache-from: type=local,src=/tmp/.buildx-cache
|
|
|
cache-to: type=local,dest=/tmp/.buildx-cache-new
|
|
|
|
|
|
+ - name: Move cache
|
|
|
+ run: |
|
|
|
+ rm -rf /tmp/.buildx-cache
|
|
|
+ mv /tmp/.buildx-cache-new /tmp/.buildx-cache
|
|
|
+
|
|
|
+ - name: Image digest
|
|
|
+ run: |
|
|
|
+ echo ${{ steps.docker_build_xray_core.outputs.digest }}
|
|
|
+
|
|
|
+ build-v2ray:
|
|
|
+ needs: build-basic
|
|
|
+ runs-on: ubuntu-latest
|
|
|
+ steps:
|
|
|
+ - name: Check Out Repo
|
|
|
+ uses: actions/checkout@v2
|
|
|
+
|
|
|
+ - name: Set up Docker Buildx
|
|
|
+ id: buildx
|
|
|
+ uses: docker/setup-buildx-action@v1
|
|
|
+
|
|
|
+ - name: Cache Docker layers
|
|
|
+ uses: actions/cache@v2
|
|
|
+ with:
|
|
|
+ path: /tmp/.buildx-cache
|
|
|
+ key: ${{ runner.os }}-buildx-${{ github.sha }}
|
|
|
+ restore-keys: |
|
|
|
+ ${{ runner.os }}-buildx-
|
|
|
+
|
|
|
+ - name: Login to Docker Hub
|
|
|
+ uses: docker/login-action@v1
|
|
|
+ with:
|
|
|
+ username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
|
|
+ password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
|
|
|
+
|
|
|
- name: Build V2ray-core and push
|
|
|
id: docker_build_v2ray_core
|
|
|
uses: docker/build-push-action@v2
|
|
|
@@ -219,6 +319,40 @@ jobs:
|
|
|
cache-from: type=local,src=/tmp/.buildx-cache
|
|
|
cache-to: type=local,dest=/tmp/.buildx-cache-new
|
|
|
|
|
|
+ - name: Move cache
|
|
|
+ run: |
|
|
|
+ rm -rf /tmp/.buildx-cache
|
|
|
+ mv /tmp/.buildx-cache-new /tmp/.buildx-cache
|
|
|
+
|
|
|
+ - name: Image digest
|
|
|
+ run: |
|
|
|
+ echo ${{ steps.docker_build_v2ray_core.outputs.digest }}
|
|
|
+
|
|
|
+ build-naiveproxy:
|
|
|
+ needs: build-basic
|
|
|
+ runs-on: ubuntu-latest
|
|
|
+ steps:
|
|
|
+ - name: Check Out Repo
|
|
|
+ uses: actions/checkout@v2
|
|
|
+
|
|
|
+ - name: Set up Docker Buildx
|
|
|
+ id: buildx
|
|
|
+ uses: docker/setup-buildx-action@v1
|
|
|
+
|
|
|
+ - name: Cache Docker layers
|
|
|
+ uses: actions/cache@v2
|
|
|
+ with:
|
|
|
+ path: /tmp/.buildx-cache
|
|
|
+ key: ${{ runner.os }}-buildx-${{ github.sha }}
|
|
|
+ restore-keys: |
|
|
|
+ ${{ runner.os }}-buildx-
|
|
|
+
|
|
|
+ - name: Login to Docker Hub
|
|
|
+ uses: docker/login-action@v1
|
|
|
+ with:
|
|
|
+ username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
|
|
+ password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
|
|
|
+
|
|
|
- name: Build naiveproxy and push
|
|
|
id: docker_build_naiveproxy
|
|
|
uses: docker/build-push-action@v2
|
|
|
@@ -240,11 +374,9 @@ jobs:
|
|
|
|
|
|
- name: Image digest
|
|
|
run: |
|
|
|
- echo ${{ steps.docker_build_xray_core.outputs.digest }}
|
|
|
- echo ${{ steps.docker_build_v2ray_core.outputs.digest }}
|
|
|
echo ${{ steps.docker_build_naiveproxy.outputs.digest }}
|
|
|
|
|
|
- build-other3:
|
|
|
+ build-syncthing:
|
|
|
needs: build-basic
|
|
|
runs-on: ubuntu-latest
|
|
|
steps:
|
|
|
@@ -283,6 +415,40 @@ jobs:
|
|
|
cache-from: type=local,src=/tmp/.buildx-cache
|
|
|
cache-to: type=local,dest=/tmp/.buildx-cache-new
|
|
|
|
|
|
+ - name: Move cache
|
|
|
+ run: |
|
|
|
+ rm -rf /tmp/.buildx-cache
|
|
|
+ mv /tmp/.buildx-cache-new /tmp/.buildx-cache
|
|
|
+
|
|
|
+ - name: Image digest
|
|
|
+ run: |
|
|
|
+ echo ${{ steps.docker_build_syncthing.outputs.digest }}
|
|
|
+
|
|
|
+ build-kms:
|
|
|
+ needs: build-basic
|
|
|
+ runs-on: ubuntu-latest
|
|
|
+ steps:
|
|
|
+ - name: Check Out Repo
|
|
|
+ uses: actions/checkout@v2
|
|
|
+
|
|
|
+ - name: Set up Docker Buildx
|
|
|
+ id: buildx
|
|
|
+ uses: docker/setup-buildx-action@v1
|
|
|
+
|
|
|
+ - name: Cache Docker layers
|
|
|
+ uses: actions/cache@v2
|
|
|
+ with:
|
|
|
+ path: /tmp/.buildx-cache
|
|
|
+ key: ${{ runner.os }}-buildx-${{ github.sha }}
|
|
|
+ restore-keys: |
|
|
|
+ ${{ runner.os }}-buildx-
|
|
|
+
|
|
|
+ - name: Login to Docker Hub
|
|
|
+ uses: docker/login-action@v1
|
|
|
+ with:
|
|
|
+ username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
|
|
+ password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
|
|
|
+
|
|
|
- name: Build KMS and push
|
|
|
id: docker_build_kms
|
|
|
uses: docker/build-push-action@v2
|
|
|
@@ -297,6 +463,40 @@ jobs:
|
|
|
cache-from: type=local,src=/tmp/.buildx-cache
|
|
|
cache-to: type=local,dest=/tmp/.buildx-cache-new
|
|
|
|
|
|
+ - name: Move cache
|
|
|
+ run: |
|
|
|
+ rm -rf /tmp/.buildx-cache
|
|
|
+ mv /tmp/.buildx-cache-new /tmp/.buildx-cache
|
|
|
+
|
|
|
+ - name: Image digest
|
|
|
+ run: |
|
|
|
+ echo ${{ steps.docker_build_kms.outputs.digest }}
|
|
|
+
|
|
|
+ build-lego:
|
|
|
+ needs: build-basic
|
|
|
+ runs-on: ubuntu-latest
|
|
|
+ steps:
|
|
|
+ - name: Check Out Repo
|
|
|
+ uses: actions/checkout@v2
|
|
|
+
|
|
|
+ - name: Set up Docker Buildx
|
|
|
+ id: buildx
|
|
|
+ uses: docker/setup-buildx-action@v1
|
|
|
+
|
|
|
+ - name: Cache Docker layers
|
|
|
+ uses: actions/cache@v2
|
|
|
+ with:
|
|
|
+ path: /tmp/.buildx-cache
|
|
|
+ key: ${{ runner.os }}-buildx-${{ github.sha }}
|
|
|
+ restore-keys: |
|
|
|
+ ${{ runner.os }}-buildx-
|
|
|
+
|
|
|
+ - name: Login to Docker Hub
|
|
|
+ uses: docker/login-action@v1
|
|
|
+ with:
|
|
|
+ username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
|
|
+ password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
|
|
|
+
|
|
|
- name: Build lego and push
|
|
|
id: docker_build_lego
|
|
|
uses: docker/build-push-action@v2
|
|
|
@@ -311,6 +511,40 @@ jobs:
|
|
|
cache-from: type=local,src=/tmp/.buildx-cache
|
|
|
cache-to: type=local,dest=/tmp/.buildx-cache-new
|
|
|
|
|
|
+ - name: Move cache
|
|
|
+ run: |
|
|
|
+ rm -rf /tmp/.buildx-cache
|
|
|
+ mv /tmp/.buildx-cache-new /tmp/.buildx-cache
|
|
|
+
|
|
|
+ - name: Image digest
|
|
|
+ run: |
|
|
|
+ echo ${{ steps.docker_build_lego.outputs.digest }}
|
|
|
+
|
|
|
+ build-traefik:
|
|
|
+ needs: build-basic
|
|
|
+ runs-on: ubuntu-latest
|
|
|
+ steps:
|
|
|
+ - name: Check Out Repo
|
|
|
+ uses: actions/checkout@v2
|
|
|
+
|
|
|
+ - name: Set up Docker Buildx
|
|
|
+ id: buildx
|
|
|
+ uses: docker/setup-buildx-action@v1
|
|
|
+
|
|
|
+ - name: Cache Docker layers
|
|
|
+ uses: actions/cache@v2
|
|
|
+ with:
|
|
|
+ path: /tmp/.buildx-cache
|
|
|
+ key: ${{ runner.os }}-buildx-${{ github.sha }}
|
|
|
+ restore-keys: |
|
|
|
+ ${{ runner.os }}-buildx-
|
|
|
+
|
|
|
+ - name: Login to Docker Hub
|
|
|
+ uses: docker/login-action@v1
|
|
|
+ with:
|
|
|
+ username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
|
|
+ password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
|
|
|
+
|
|
|
- name: Build Traefik and push
|
|
|
id: docker_build_traefik
|
|
|
uses: docker/build-push-action@v2
|
|
|
@@ -325,6 +559,40 @@ jobs:
|
|
|
cache-from: type=local,src=/tmp/.buildx-cache
|
|
|
cache-to: type=local,dest=/tmp/.buildx-cache-new
|
|
|
|
|
|
+ - name: Move cache
|
|
|
+ run: |
|
|
|
+ rm -rf /tmp/.buildx-cache
|
|
|
+ mv /tmp/.buildx-cache-new /tmp/.buildx-cache
|
|
|
+
|
|
|
+ - name: Image digest
|
|
|
+ run: |
|
|
|
+ echo ${{ steps.docker_build_traefik.outputs.digest }}
|
|
|
+
|
|
|
+ build-samba:
|
|
|
+ needs: build-basic
|
|
|
+ runs-on: ubuntu-latest
|
|
|
+ steps:
|
|
|
+ - name: Check Out Repo
|
|
|
+ uses: actions/checkout@v2
|
|
|
+
|
|
|
+ - name: Set up Docker Buildx
|
|
|
+ id: buildx
|
|
|
+ uses: docker/setup-buildx-action@v1
|
|
|
+
|
|
|
+ - name: Cache Docker layers
|
|
|
+ uses: actions/cache@v2
|
|
|
+ with:
|
|
|
+ path: /tmp/.buildx-cache
|
|
|
+ key: ${{ runner.os }}-buildx-${{ github.sha }}
|
|
|
+ restore-keys: |
|
|
|
+ ${{ runner.os }}-buildx-
|
|
|
+
|
|
|
+ - name: Login to Docker Hub
|
|
|
+ uses: docker/login-action@v1
|
|
|
+ with:
|
|
|
+ username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
|
|
+ password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
|
|
|
+
|
|
|
- name: Build Samba and push
|
|
|
id: docker_build_samba
|
|
|
uses: docker/build-push-action@v2
|
|
|
@@ -339,6 +607,40 @@ jobs:
|
|
|
cache-from: type=local,src=/tmp/.buildx-cache
|
|
|
cache-to: type=local,dest=/tmp/.buildx-cache-new
|
|
|
|
|
|
+ - name: Move cache
|
|
|
+ run: |
|
|
|
+ rm -rf /tmp/.buildx-cache
|
|
|
+ mv /tmp/.buildx-cache-new /tmp/.buildx-cache
|
|
|
+
|
|
|
+ - name: Image digest
|
|
|
+ run: |
|
|
|
+ echo ${{ steps.docker_build_samba.outputs.digest }}
|
|
|
+
|
|
|
+ build-caddy:
|
|
|
+ needs: build-basic
|
|
|
+ runs-on: ubuntu-latest
|
|
|
+ steps:
|
|
|
+ - name: Check Out Repo
|
|
|
+ uses: actions/checkout@v2
|
|
|
+
|
|
|
+ - name: Set up Docker Buildx
|
|
|
+ id: buildx
|
|
|
+ uses: docker/setup-buildx-action@v1
|
|
|
+
|
|
|
+ - name: Cache Docker layers
|
|
|
+ uses: actions/cache@v2
|
|
|
+ with:
|
|
|
+ path: /tmp/.buildx-cache
|
|
|
+ key: ${{ runner.os }}-buildx-${{ github.sha }}
|
|
|
+ restore-keys: |
|
|
|
+ ${{ runner.os }}-buildx-
|
|
|
+
|
|
|
+ - name: Login to Docker Hub
|
|
|
+ uses: docker/login-action@v1
|
|
|
+ with:
|
|
|
+ username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
|
|
+ password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
|
|
|
+
|
|
|
- name: Build Caddy and push
|
|
|
id: docker_build_caddy
|
|
|
uses: docker/build-push-action@v2
|
|
|
@@ -360,11 +662,6 @@ jobs:
|
|
|
|
|
|
- name: Image digest
|
|
|
run: |
|
|
|
- echo ${{ steps.docker_build_syncthing.outputs.digest }}
|
|
|
- echo ${{ steps.docker_build_kms.outputs.digest }}
|
|
|
- echo ${{ steps.docker_build_lego.outputs.digest }}
|
|
|
- echo ${{ steps.docker_build_traefik.outputs.digest }}
|
|
|
- echo ${{ steps.docker_build_samba.outputs.digest }}
|
|
|
echo ${{ steps.docker_build_caddy.outputs.digest }}
|
|
|
|
|
|
build-udp2raw:
|