From cb7a95fd69b0f6b16c91ab3fa2aec7d45ee535c5 Mon Sep 17 00:00:00 2001 From: Gleb Koval Date: Sat, 6 Aug 2022 17:03:07 +0000 Subject: [PATCH] wasm-pack-docker --- .woodpecker/tools-wasm-pack-docker.yml | 14 ++++++++++++++ tools/wasm-pack-docker/Dockerfile | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 .woodpecker/tools-wasm-pack-docker.yml create mode 100644 tools/wasm-pack-docker/Dockerfile diff --git a/.woodpecker/tools-wasm-pack-docker.yml b/.woodpecker/tools-wasm-pack-docker.yml new file mode 100644 index 0000000..245bcec --- /dev/null +++ b/.woodpecker/tools-wasm-pack-docker.yml @@ -0,0 +1,14 @@ +pipeline: + build and publish: + image: plugins/docker + settings: + registry: git.koval.net + username: + from_secret: DEPLOY_USER + password: + from_secret: DEPLOY_TOKEN + repo: cyclane/game-algorithms/wasm-pack + tags: latest + context: tools/wasm-pack-docker + when: + path: tools/wasm-pack-docker/Dockerfile \ No newline at end of file diff --git a/tools/wasm-pack-docker/Dockerfile b/tools/wasm-pack-docker/Dockerfile new file mode 100644 index 0000000..db748f4 --- /dev/null +++ b/tools/wasm-pack-docker/Dockerfile @@ -0,0 +1,2 @@ +FROM rust:alpine +RUN cargo install wasm-pack \ No newline at end of file