Add wasm-stable container
Some checks failed
publish / docker (push) Failing after 31s

This commit is contained in:
2026-04-15 23:43:36 -05:00
parent 3dd1bd8a89
commit 382adc61ed
2 changed files with 13 additions and 0 deletions

View File

@@ -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

View File

@@ -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"]