Fixed release.yml
Browse files
.github/workflows/release.yml
CHANGED
|
@@ -85,12 +85,9 @@ jobs:
|
|
| 85 |
with:
|
| 86 |
context: .
|
| 87 |
push: true
|
| 88 |
-
tags:
|
| 89 |
-
- infiniflow/ragflow:${{ env.RELEASE_TAG }}
|
| 90 |
file: Dockerfile
|
| 91 |
-
platforms:
|
| 92 |
-
- linux/amd64
|
| 93 |
-
- linux/arm64
|
| 94 |
|
| 95 |
# https://github.com/marketplace/actions/build-and-push-docker-images
|
| 96 |
- name: Build and push slim image
|
|
@@ -98,14 +95,10 @@ jobs:
|
|
| 98 |
with:
|
| 99 |
context: .
|
| 100 |
push: true
|
| 101 |
-
tags:
|
| 102 |
-
- infiniflow/ragflow:${{ env.RELEASE_TAG }}-slim
|
| 103 |
file: Dockerfile
|
| 104 |
-
build-args:
|
| 105 |
-
|
| 106 |
-
platforms:
|
| 107 |
-
- linux/amd64
|
| 108 |
-
- linux/arm64
|
| 109 |
|
| 110 |
- name: Build ragflow-sdk
|
| 111 |
if: startsWith(github.ref, 'refs/tags/v')
|
|
|
|
| 85 |
with:
|
| 86 |
context: .
|
| 87 |
push: true
|
| 88 |
+
tags: infiniflow/ragflow:${{ env.RELEASE_TAG }}
|
|
|
|
| 89 |
file: Dockerfile
|
| 90 |
+
platforms: linux/amd64 linux/arm64
|
|
|
|
|
|
|
| 91 |
|
| 92 |
# https://github.com/marketplace/actions/build-and-push-docker-images
|
| 93 |
- name: Build and push slim image
|
|
|
|
| 95 |
with:
|
| 96 |
context: .
|
| 97 |
push: true
|
| 98 |
+
tags: infiniflow/ragflow:${{ env.RELEASE_TAG }}-slim
|
|
|
|
| 99 |
file: Dockerfile
|
| 100 |
+
build-args: LIGHTEN=1
|
| 101 |
+
platforms: linux/amd64 linux/arm64
|
|
|
|
|
|
|
|
|
|
| 102 |
|
| 103 |
- name: Build ragflow-sdk
|
| 104 |
if: startsWith(github.ref, 'refs/tags/v')
|