mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-09-27 13:46:37 +08:00
Change image used to get canyon-cli
This commit is contained in:
parent
c73ab4abd2
commit
bb9841bae0
2
.github/workflows/app.yml
vendored
2
.github/workflows/app.yml
vendored
@ -57,7 +57,7 @@ jobs:
|
|||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
cache: "yarn"
|
cache: 'yarn'
|
||||||
- name: install Rust stable
|
- name: install Rust stable
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
|
@ -72,7 +72,7 @@ CMD echo "Listing contents of /app/app/mcp before starting server:" && \
|
|||||||
if [ "$CANYON_ARCH" = "x86_64" ]; then CANYON_ARCH="amd64"; \
|
if [ "$CANYON_ARCH" = "x86_64" ]; then CANYON_ARCH="amd64"; \
|
||||||
elif [ "$CANYON_ARCH" = "aarch64" ]; then CANYON_ARCH="arm64"; fi && \
|
elif [ "$CANYON_ARCH" = "aarch64" ]; then CANYON_ARCH="arm64"; fi && \
|
||||||
CANYON_FILENAME="canyon-cli_${CANYON_VERSION#v}_linux_${CANYON_ARCH}.tar.gz" && \
|
CANYON_FILENAME="canyon-cli_${CANYON_VERSION#v}_linux_${CANYON_ARCH}.tar.gz" && \
|
||||||
CANYON_URL="https://github.com/humanitec/canyon-cli/releases/download/${CANYON_VERSION}/${CANYON_FILENAME}" && \
|
CANYON_URL="https://github.com/DominicJamesWhite/canyon-cli-cloud/releases/download/${CANYON_VERSION}/${CANYON_FILENAME}" && \
|
||||||
echo "Downloading canyon-cli version ${CANYON_VERSION} for architecture ${CANYON_ARCH} from ${CANYON_URL}" && \
|
echo "Downloading canyon-cli version ${CANYON_VERSION} for architecture ${CANYON_ARCH} from ${CANYON_URL}" && \
|
||||||
mkdir -p /app/bin && \
|
mkdir -p /app/bin && \
|
||||||
curl -fSL "$CANYON_URL" -o /tmp/canyon.tar.gz && \
|
curl -fSL "$CANYON_URL" -o /tmp/canyon.tar.gz && \
|
||||||
|
@ -3,3 +3,5 @@
|
|||||||
This is a lightly-reskinned version of NextChat. It downloads and runs the latest humctl and canyon-cli when the container starts.
|
This is a lightly-reskinned version of NextChat. It downloads and runs the latest humctl and canyon-cli when the container starts.
|
||||||
|
|
||||||
It takes as environment variables a HUMANITEC_TOKEN, a GOOGLE_API_KEY, ENABLE_MCP (set this to "TRUE" otherwise the MCP server won't start) and a DEFAULT_MODEL (works with "gemini-2.5-pro-preview-03-25").
|
It takes as environment variables a HUMANITEC_TOKEN, a GOOGLE_API_KEY, ENABLE_MCP (set this to "TRUE" otherwise the MCP server won't start) and a DEFAULT_MODEL (works with "gemini-2.5-pro-preview-03-25").
|
||||||
|
|
||||||
|
Also running on GCP.
|
||||||
|
Loading…
Reference in New Issue
Block a user