|
|
@@ -103,8 +103,8 @@ jobs:
|
|
103
|
103
|
- { platform: "amd64", goos: "linux", docker_platform: "linux/amd64" }
|
|
104
|
104
|
- { platform: "arm64v8", goos: "linux", docker_platform: "linux/arm64" }
|
|
105
|
105
|
steps:
|
|
106
|
|
-# - name: Checkout code
|
|
107
|
|
-# uses: actions/checkout@v4
|
|
|
106
|
+ - name: Checkout code
|
|
|
107
|
+ uses: actions/checkout@v4
|
|
108
|
108
|
|
|
109
|
109
|
- name: Log in to Docker Hub
|
|
110
|
110
|
uses: docker/login-action@v2
|
|
|
@@ -120,11 +120,12 @@ jobs:
|
|
120
|
120
|
uses: actions/download-artifact@v3
|
|
121
|
121
|
with:
|
|
122
|
122
|
name: rustdesk-api-${{ matrix.goos }}-${{ matrix.goarch }}
|
|
123
|
|
- path: rustdesk-api/
|
|
|
123
|
+ path: ./
|
|
124
|
124
|
|
|
125
|
125
|
- name: Unzip binaries
|
|
126
|
126
|
run: |
|
|
127
|
|
- tar -xzf rustdesk-api/rustdesk-api-${{ matrix.goos }}-${{ matrix.goarch }}.tar.gz -C rustdesk-api/
|
|
|
127
|
+ mkdir release -p
|
|
|
128
|
+ tar -xzf rustdesk-api-${{ matrix.goos }}-${{ matrix.goarch }}.tar.gz -C release/
|
|
128
|
129
|
|
|
129
|
130
|
- name: Build and push Docker image
|
|
130
|
131
|
uses: docker/build-push-action@v5
|