This commit is contained in:
@@ -64,3 +64,13 @@ jobs:
|
|||||||
TARGETS=x86_64-unknown-linux-musl
|
TARGETS=x86_64-unknown-linux-musl
|
||||||
file: 'rustup/Dockerfile'
|
file: 'rustup/Dockerfile'
|
||||||
tags: gitea.loadingm.xyz/the10thwiz/rustup:musl-latest
|
tags: gitea.loadingm.xyz/the10thwiz/rustup:musl-latest
|
||||||
|
- name: Build and push
|
||||||
|
uses: docker/build-push-action@v6
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
build-args: |
|
||||||
|
TOOLCHAIN=stable
|
||||||
|
TARGETS=wasm32-unknown-unknown
|
||||||
|
TOOLS=wasm-bindgen-cli
|
||||||
|
file: 'rustup/Dockerfile'
|
||||||
|
tags: gitea.loadingm.xyz/the10thwiz/rustup:wasm-stable
|
||||||
|
|||||||
@@ -34,3 +34,6 @@ RUN ["/bin/bash", "-c", "declare -a ARR=($EXTRA); for name in $ARR; do rustup in
|
|||||||
|
|
||||||
ARG TARGETS=""
|
ARG TARGETS=""
|
||||||
RUN ["/bin/bash", "-c", "declare -a ARR=($TARGETS); for name in $ARR; do rustup target add $name; done"]
|
RUN ["/bin/bash", "-c", "declare -a ARR=($TARGETS); for name in $ARR; do rustup target add $name; done"]
|
||||||
|
|
||||||
|
ARG TOOLS=""
|
||||||
|
RUN ["/bin/bash", "-c", "declare -a ARR=($TOOLS); for name in $ARR; do cargo install --locked $name; done"]
|
||||||
|
|||||||
Reference in New Issue
Block a user