Skip to content

Commit

Permalink
change the linux binaries name
Browse files Browse the repository at this point in the history
  • Loading branch information
eltorio committed Oct 18, 2024
1 parent 4f4e5cd commit c7e277d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/multiarch-docker-hub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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'
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'
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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:

Expand Down

0 comments on commit c7e277d

Please sign in to comment.