sync: update fluffychat-build.yaml from wavecat repo
This commit is contained in:
parent
2f5c57c08d
commit
97e602c53d
1 changed files with 1 additions and 6 deletions
|
|
@ -16,15 +16,10 @@ jobs:
|
|||
|
||||
- name: Checkout FluffyChat
|
||||
run: |
|
||||
REF=${{ github.event.client_payload.ref || 'main' }}
|
||||
REF=${{ github.event.client_payload.ref || 'v2.4.1' }}
|
||||
git clone --depth 1 --branch "${REF##refs/heads/}" \
|
||||
http://forgejo.tooling.svc.cluster.local:3000/ember/fluffychat.git .
|
||||
|
||||
- name: Patch Dockerfile
|
||||
run: |
|
||||
sed -i '/rustup component add rust-src/a RUN rustup target add wasm32-unknown-unknown --toolchain nightly-x86_64-unknown-linux-gnu' Dockerfile
|
||||
sed -i '/prepare-web.sh/i RUN cargo install wasm-bindgen-cli --version 0.2.100' Dockerfile
|
||||
|
||||
- name: Build container image
|
||||
run: |
|
||||
SHA=${{ github.event.client_payload.sha || 'latest' }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue