Skip to content

Commit ebdbe8e

Browse files
committed
feat(workflows): add Rust toolchain and wasm-pack installation to Docker release workflow
1 parent 390dd6a commit ebdbe8e

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/release-docker-images.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,18 @@ jobs:
4545
with:
4646
version: ${{ env.PNPM_VERSION }}
4747

48+
- name: Install rust
49+
uses: actions-rs/toolchain@v1
50+
with:
51+
toolchain: stable
52+
override: true
53+
components: rust-std
54+
55+
- name: Install wasm-pack
56+
uses: jetli/[email protected]
57+
with:
58+
version: 'latest'
59+
4860
- name: Install project dependencies
4961
run: pnpm install --frozen-lockfile
5062

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ bunx changeset publish
102102

103103
- Trigger the `Release Docker Images` GitHub Action (`.github/workflows/release-docker-images.yml`) from the Actions tab once the desired changes are on the branch you want to release from.
104104
- When starting the workflow, select the branch ref, set `auth-server-released` to true, and optionally provide a `custom-tag` to add an extra image tag alongside the branch/commit/`latest` tags.
105-
- The job builds both `lit-auth-server` and `lit-login-server` via their Nx `docker-build` targets and pushes images to `ghcr.io/lit-protocol/<app>` using the repo's `GITHUB_TOKEN` (or the `GHCR_USERNAME`/`GHCR_TOKEN` secrets if you supply them).
105+
- The job installs the Rust toolchain and `wasm-pack`, builds both `lit-auth-server` and `lit-login-server` via their Nx `docker-build` targets, and pushes images to `ghcr.io/lit-protocol/<app>` using the repo's `GITHUB_TOKEN` (or the `GHCR_USERNAME`/`GHCR_TOKEN` secrets if you supply them).
106106
- Leave `auth-server-released` unchecked to perform a no-op dry run and confirm the workflow is available without publishing images.
107107

108108
## Keeping the contract address and ABIs in sync with the latest changes

0 commit comments

Comments
 (0)