Update .forgejo/workflows/fluffychat-build.yaml
This commit is contained in:
parent
35b318a63e
commit
039d67f194
1 changed files with 4 additions and 1 deletions
|
|
@ -20,6 +20,10 @@ jobs:
|
||||||
git clone --depth 1 --branch "${REF##refs/heads/}" \
|
git clone --depth 1 --branch "${REF##refs/heads/}" \
|
||||||
http://forgejo.tooling.svc.cluster.local:3000/ember/fluffychat.git .
|
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
|
||||||
|
|
||||||
- name: Build container image
|
- name: Build container image
|
||||||
run: |
|
run: |
|
||||||
SHA=${{ github.event.client_payload.sha || 'latest' }}
|
SHA=${{ github.event.client_payload.sha || 'latest' }}
|
||||||
|
|
@ -31,4 +35,3 @@ jobs:
|
||||||
SHA=${{ github.event.client_payload.sha || 'latest' }}
|
SHA=${{ github.event.client_payload.sha || 'latest' }}
|
||||||
docker push 10.70.69.22:30500/ember/fluffychat:latest
|
docker push 10.70.69.22:30500/ember/fluffychat:latest
|
||||||
docker push 10.70.69.22:30500/ember/fluffychat:${SHA}
|
docker push 10.70.69.22:30500/ember/fluffychat:${SHA}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue