2020 RUST_LOG : " wind=TRACE"
2121 RUST_TOOLCHAIN : " stable"
2222 RUSTC_BOOTSTRAP : " 1"
23- SENTRY_DSN : ${{ secrets.SENTRY_DSN }}
2423
2524jobs :
2625 build :
2726 name : Build
28- uses : rust-proxy/workflows/.github/workflows/rust-build.yml@v1.0.10
29- secrets :
30- sentry-dsn : ${{ secrets.SENTRY_DSN }}
27+ uses : rust-proxy/workflows/.github/workflows/rust-build.yml@v1.0.12
3128 with :
3229 rust-toolchain : " stable"
33- packages : " wind"
30+ packages : " wind,tuic-server,tuic-client "
3431 target-config-file : " .github/target.toml"
3532 rustflags : " "
3633 enable-tmate : false
@@ -40,21 +37,37 @@ jobs:
4037 name : Release
4138 if : github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')))
4239 needs : [build]
43- uses : rust-proxy/workflows/.github/workflows/release-publish.yml@v1.0.10
40+ uses : rust-proxy/workflows/.github/workflows/release-publish.yml@v1.0.12
4441 with :
4542 cliff-config : ' .github/cliff.toml'
43+ create-latest-on-push : true
44+
45+ docker_tuic :
46+ name : Docker of TUIC
47+ needs : [build]
48+ uses : rust-proxy/workflows/.github/workflows/docker-publish.yml@main
49+ # secrets:
50+ # registrys: |
51+ # ${{ secrets.DOCKERHUB_USERNAME }}:$${{ secrets.DOCKERHUB_TOKEN }}@docker.io
52+ with :
53+ docker-file : ' .github/Dockerfile_TUIC'
54+ image-name : ' tuic-server'
55+ platforms : ' linux/amd64,linux/arm64'
56+ binary-dir : ' ./docker-bins'
57+ server-binary-amd64 : ' tuic-server-x86_64-linux-musl'
58+ server-binary-arm64 : ' tuic-server-aarch64-linux-musl'
4659
4760 docker :
4861 name : Docker
4962 needs : [build]
50- uses : rust-proxy/workflows/.github/workflows/docker-publish.yml@v1.0.10
51- secrets :
52- dockerhub-username : ${{ secrets.DOCKERHUB_USERNAME }}
53- dockerhub-token : ${{ secrets.DOCKERHUB_TOKEN }}
63+ uses : rust-proxy/workflows/.github/workflows/docker-publish.yml@main
64+ # secrets:
65+ # registrys: |
66+ # ${{ secrets.DOCKERHUB_USERNAME }}:$${{ secrets. DOCKERHUB_TOKEN }}@docker.io
5467 with :
5568 docker-file : ' .github/Dockerfile'
5669 image-name : ' wind'
5770 platforms : ' linux/amd64,linux/arm64'
5871 binary-dir : ' ./docker-bins'
5972 server-binary-amd64 : ' wind-x86_64-linux-musl'
60- server-binary-arm64 : ' wind-aarch64-linux-musl'
73+ server-binary-arm64 : ' wind-aarch64-linux-musl'
0 commit comments