Fix release.yml

This commit is contained in:
Zhichang Yu
2024-12-06 15:24:53 +08:00
parent dab58b9311
commit 1f5a7c4b12

View File

@ -16,7 +16,7 @@ concurrency:
jobs:
release:
runs-on: [ "ubuntu-latest" ]
runs-on: [ "self-hosted", "overseas" ]
steps:
- name: Ensure workspace ownership
run: echo "chown -R $USER $GITHUB_WORKSPACE" && sudo chown -R $USER $GITHUB_WORKSPACE
@ -87,7 +87,7 @@ jobs:
push: true
tags: infiniflow/ragflow:${{ env.RELEASE_TAG }}
file: Dockerfile
platforms: linux/amd64,linux/arm64
platforms: linux/amd64
# https://github.com/marketplace/actions/build-and-push-docker-images
- name: Build and push slim image
@ -98,7 +98,7 @@ jobs:
tags: infiniflow/ragflow:${{ env.RELEASE_TAG }}-slim
file: Dockerfile
build-args: LIGHTEN=1
platforms: linux/amd64,linux/arm64
platforms: linux/amd64
- name: Build ragflow-sdk
if: startsWith(github.ref, 'refs/tags/v')