Fix release.yml
Browse files
.github/workflows/release.yml
CHANGED
@@ -16,7 +16,7 @@ concurrency:
|
|
16 |
|
17 |
jobs:
|
18 |
release:
|
19 |
-
runs-on: [ "
|
20 |
steps:
|
21 |
- name: Ensure workspace ownership
|
22 |
run: echo "chown -R $USER $GITHUB_WORKSPACE" && sudo chown -R $USER $GITHUB_WORKSPACE
|
@@ -87,7 +87,7 @@ jobs:
|
|
87 |
push: true
|
88 |
tags: infiniflow/ragflow:${{ env.RELEASE_TAG }}
|
89 |
file: Dockerfile
|
90 |
-
platforms: linux/amd64
|
91 |
|
92 |
# https://github.com/marketplace/actions/build-and-push-docker-images
|
93 |
- name: Build and push slim image
|
@@ -98,7 +98,7 @@ jobs:
|
|
98 |
tags: infiniflow/ragflow:${{ env.RELEASE_TAG }}-slim
|
99 |
file: Dockerfile
|
100 |
build-args: LIGHTEN=1
|
101 |
-
platforms: linux/amd64
|
102 |
|
103 |
- name: Build ragflow-sdk
|
104 |
if: startsWith(github.ref, 'refs/tags/v')
|
|
|
16 |
|
17 |
jobs:
|
18 |
release:
|
19 |
+
runs-on: [ "self-hosted", "overseas" ]
|
20 |
steps:
|
21 |
- name: Ensure workspace ownership
|
22 |
run: echo "chown -R $USER $GITHUB_WORKSPACE" && sudo chown -R $USER $GITHUB_WORKSPACE
|
|
|
87 |
push: true
|
88 |
tags: infiniflow/ragflow:${{ env.RELEASE_TAG }}
|
89 |
file: Dockerfile
|
90 |
+
platforms: linux/amd64
|
91 |
|
92 |
# https://github.com/marketplace/actions/build-and-push-docker-images
|
93 |
- name: Build and push slim image
|
|
|
98 |
tags: infiniflow/ragflow:${{ env.RELEASE_TAG }}-slim
|
99 |
file: Dockerfile
|
100 |
build-args: LIGHTEN=1
|
101 |
+
platforms: linux/amd64
|
102 |
|
103 |
- name: Build ragflow-sdk
|
104 |
if: startsWith(github.ref, 'refs/tags/v')
|