From c7e277d8aeab6da3e5290d9fb042a729e48c9c0c Mon Sep 17 00:00:00 2001 From: Ronan Date: Fri, 18 Oct 2024 13:56:16 +0200 Subject: [PATCH] change the linux binaries name --- .github/workflows/multiarch-docker-hub.yml | 18 +++++++++--------- README.md | 12 ++++++++++++ 2 files changed, 21 insertions(+), 9 deletions(-) diff --git a/.github/workflows/multiarch-docker-hub.yml b/.github/workflows/multiarch-docker-hub.yml index fac0a1e3..f50f49f3 100644 --- a/.github/workflows/multiarch-docker-hub.yml +++ b/.github/workflows/multiarch-docker-hub.yml @@ -109,7 +109,7 @@ jobs: docker cp temp-container-amd64:/usr/local/bin/rustdesk-utils /tmp/amd64/zip/ docker rm temp-container-amd64 cd /tmp/amd64/zip - zip -r /tmp/amd64/linux-ubuntu-22.04_${{ github.event.release.tag_name }}_amd64.zip . + zip -r /tmp/amd64/linux_static_${{ github.event.release.tag_name }}_amd64.zip . - name: Pull and extract files from Docker image (arm64) continue-on-error: true @@ -126,7 +126,7 @@ jobs: docker cp temp-container-arm64:/usr/local/bin/rustdesk-utils /tmp/arm64/zip/ docker rm temp-container-arm64 cd /tmp/arm64/zip - zip -r /tmp/arm64/linux-ubuntu-22.04_${{ github.event.release.tag_name }}_arm64.zip . + zip -r /tmp/arm64/linux_static_${{ github.event.release.tag_name }}_arm64.zip . - name: Pull and extract files from Docker image (armhf) continue-on-error: true @@ -144,18 +144,18 @@ jobs: docker cp temp-container-armhf:/usr/local/bin/rustdesk-utils /tmp/armhf/zip/ docker rm temp-container-armhf cd /tmp/armhf/zip - zip -r /tmp/armhf/linux-ubuntu-22.04_${{ github.event.release.tag_name }}_armhf.zip . + zip -r /tmp/armhf/linux_static_${{ github.event.release.tag_name }}_armhf.zip . - name: Upload Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | ls -lR - gh release upload ${{ github.event.release.tag_name }} /tmp/arm64/linux-ubuntu-22.04_${{ github.event.release.tag_name }}_arm64.zip + gh release upload ${{ github.event.release.tag_name }} /tmp/arm64/linux_static_${{ github.event.release.tag_name }}_arm64.zip gh release upload ${{ github.event.release.tag_name }} /tmp/arm64/rustdesk-server-hbbr_${{ github.event.release.tag_name }}_arm64.deb gh release upload ${{ github.event.release.tag_name }} /tmp/arm64/rustdesk-server-hbbs_${{ github.event.release.tag_name }}_arm64.deb gh release upload ${{ github.event.release.tag_name }} /tmp/arm64/rustdesk-server-utils_${{ github.event.release.tag_name }}_arm64.deb - gh release upload ${{ github.event.release.tag_name }} /tmp/amd64/linux-ubuntu-22.04_${{ github.event.release.tag_name }}_amd64.zip + gh release upload ${{ github.event.release.tag_name }} /tmp/amd64/linux_static_${{ github.event.release.tag_name }}_amd64.zip gh release upload ${{ github.event.release.tag_name }} /tmp/amd64/rustdesk-server-hbbr_${{ github.event.release.tag_name }}_amd64.deb gh release upload ${{ github.event.release.tag_name }} /tmp/amd64/rustdesk-server-hbbs_${{ github.event.release.tag_name }}_amd64.deb gh release upload ${{ github.event.release.tag_name }} /tmp/amd64/rustdesk-server-utils_${{ github.event.release.tag_name }}_amd64.deb @@ -165,7 +165,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} if: ${{ env.DOCKER_ARMHF_EXPERIMENTAL == 'enabled' }} run: | - gh release upload ${{ github.event.release.tag_name }} /tmp/armhf/linux-ubuntu-22.04_${{ github.event.release.tag_name }}_armhf.zip + gh release upload ${{ github.event.release.tag_name }} /tmp/armhf/linux_static_${{ github.event.release.tag_name }}_armhf.zip gh release upload ${{ github.event.release.tag_name }} /tmp/armhf/rustdesk-server-hbbr_${{ github.event.release.tag_name }}_armhf.deb gh release upload ${{ github.event.release.tag_name }} /tmp/armhf/rustdesk-server-hbbs_${{ github.event.release.tag_name }}_armhf.deb gh release upload ${{ github.event.release.tag_name }} /tmp/armhf/rustdesk-server-utils_${{ github.event.release.tag_name }}_armhf.deb @@ -202,17 +202,17 @@ jobs: uses: actions/attest-build-provenance@v1 continue-on-error: true with: - subject-path: '/tmp/amd64/linux-ubuntu-22.04_${{ github.event.release.tag_name }}_amd64.zip, /tmp/amd64/rustdesk-server-hbbr_${{ github.event.release.tag_name }}_amd64.deb, /tmp/amd64/rustdesk-server-hbbs_${{ github.event.release.tag_name }}_amd64.deb, /tmp/amd64/rustdesk-server-utils_${{ github.event.release.tag_name }}_amd64.deb, /tmp/amd64/zip/hbbs, /tmp/amd64/zip/hbbr, /tmp/amd64/zip/rustdesk-utils' + subject-path: '/tmp/amd64/linux_static_${{ github.event.release.tag_name }}_amd64.zip, /tmp/amd64/rustdesk-server-hbbr_${{ github.event.release.tag_name }}_amd64.deb, /tmp/amd64/rustdesk-server-hbbs_${{ github.event.release.tag_name }}_amd64.deb, /tmp/amd64/rustdesk-server-utils_${{ github.event.release.tag_name }}_amd64.deb, /tmp/amd64/zip/hbbs, /tmp/amd64/zip/hbbr, /tmp/amd64/zip/rustdesk-utils' - name: Attest release arm64 uses: actions/attest-build-provenance@v1 continue-on-error: true with: - subject-path: '/tmp/arm64/linux-ubuntu-22.04_${{ github.event.release.tag_name }}_arm64.zip, /tmp/arm64/rustdesk-server-hbbr_${{ github.event.release.tag_name }}_arm64.deb, /tmp/arm64/rustdesk-server-hbbs_${{ github.event.release.tag_name }}_arm64.deb, /tmp/arm64/rustdesk-server-utils_${{ github.event.release.tag_name }}_arm64.deb, /tmp/arm64/zip/hbbs, /tmp/arm64/zip/hbbr, /tmp/arm64/zip/rustdesk-utils' + subject-path: '/tmp/arm64/linux_static_${{ github.event.release.tag_name }}_arm64.zip, /tmp/arm64/rustdesk-server-hbbr_${{ github.event.release.tag_name }}_arm64.deb, /tmp/arm64/rustdesk-server-hbbs_${{ github.event.release.tag_name }}_arm64.deb, /tmp/arm64/rustdesk-server-utils_${{ github.event.release.tag_name }}_arm64.deb, /tmp/arm64/zip/hbbs, /tmp/arm64/zip/hbbr, /tmp/arm64/zip/rustdesk-utils' - name: Attest release armhf uses: actions/attest-build-provenance@v1 if: ${{ env.DOCKER_ARMHF_EXPERIMENTAL == 'enabled' }} continue-on-error: true with: - subject-path: '/tmp/armhf/linux-ubuntu-22.04_${{ github.event.release.tag_name }}_armhf.zip, /tmp/armhf/rustdesk-server-hbbr_${{ github.event.release.tag_name }}_armhf.deb, /tmp/armhf/rustdesk-server-hbbs_${{ github.event.release.tag_name }}_armhf.deb, /tmp/armhf/rustdesk-server-utils_${{ github.event.release.tag_name }}_armhf.deb, /tmp/armhf/zip/hbbs, /tmp/armhf/zip/hbbr, /tmp/armhf/zip/rustdesk-utils' \ No newline at end of file + subject-path: '/tmp/armhf/linux_static_${{ github.event.release.tag_name }}_armhf.zip, /tmp/armhf/rustdesk-server-hbbr_${{ github.event.release.tag_name }}_armhf.deb, /tmp/armhf/rustdesk-server-hbbs_${{ github.event.release.tag_name }}_armhf.deb, /tmp/armhf/rustdesk-server-utils_${{ github.event.release.tag_name }}_armhf.deb, /tmp/armhf/zip/hbbs, /tmp/armhf/zip/hbbr, /tmp/armhf/zip/rustdesk-utils' \ No newline at end of file diff --git a/README.md b/README.md index 0c500a48..5ddccc6d 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ # SctgDesk Server Program +![Docker Pulls](https://img.shields.io/docker/pulls/sctg/sctgdesk-server) [![build](https://github.com/sctg-development/sctgdesk-server/actions/workflows/multiarch-docker-hub.yml/badge.svg)](https://github.com/sctg-development/sctgdesk-server/actions/workflows/multiarch-docker-hub.yml) [![build](https://github.com/sctg-development/sctgdesk-server/actions/workflows/macos-intel-build.yml/badge.svg)](https://github.com/sctg-development/sctgdesk-server/actions/workflows/macos-intel-build.yml) [![build](https://github.com/sctg-development/sctgdesk-server/actions/workflows/windows.yml/badge.svg)](https://github.com/sctg-development/sctgdesk-server/actions/workflows/windows.yml) @@ -89,6 +90,16 @@ mkdir -p data docker-compose up ``` +## Binaries + +Binaries are available for the following platforms: +- Linux x86_64 statically linked +- Linux arm64 statically linked +- Linux armv7 statically linked +- MacOS Intel +- MacOS Apple Silicon +- Windows x86_64 + ### Default admin user The default admin user is created with the username `admin` and the password `Hello,world!`. You can change the password after the first login on the webconsole. @@ -329,6 +340,7 @@ These images are build against `ubuntu-22.04` with the only addition of the main | --- | --- | | amd64 | `sctg/sctgdesk-server:latest` | | arm64v8 | `sctg/sctgdesk-server:latest` | +| arm32v7 | `sctg/sctgdesk-server:latest` | You can start these images directly with `docker run` with these commands: