[chore](trx-rs): shared SDK image for CI and developers #5

Merged
sjg merged 8 commits from ci/sdk-image into main 2026-08-02 17:23:58 +02:00
3 changed files with 6 additions and 6 deletions
Showing only changes of commit 8fd1761688 - Show all commits
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "trx-rs SDK",
"image": "git.haxx.space/sjg/trx-rs-sdk:latest",
"image": "git.haxx.space/sjg/trx-rs/sdk:latest",
"workspaceFolder": "/work",
"workspaceMount": "source=${localWorkspaceFolder},target=/work,type=bind",
"customizations": {
+2 -2
View File
@@ -20,7 +20,7 @@ env:
jobs:
lint:
runs-on: ubuntu-latest
container: git.haxx.space/sjg/trx-rs-sdk:latest
container: git.haxx.space/sjg/trx-rs/sdk:latest
steps:
- uses: actions/checkout@v4
- name: rustfmt
@@ -30,7 +30,7 @@ jobs:
test:
runs-on: ubuntu-latest
container: git.haxx.space/sjg/trx-rs-sdk:latest
container: git.haxx.space/sjg/trx-rs/sdk:latest
steps:
- uses: actions/checkout@v4
- name: Build
+3 -3
View File
@@ -19,9 +19,9 @@ and `clippy` are identical everywhere — no "works on my machine".
```bash
# from the repo root
podman build -t git.haxx.space/sjg/trx-rs-sdk:latest container
podman build -t git.haxx.space/sjg/trx-rs/sdk:latest container
podman login git.haxx.space
podman push git.haxx.space/sjg/trx-rs-sdk:latest
podman push git.haxx.space/sjg/trx-rs/sdk:latest
```
Tag with the Rust version too (e.g. `:1.97.1`) if you want reproducible pins.
@@ -36,7 +36,7 @@ Reproducible one-off build, no local toolchain needed:
```bash
podman run --rm -it -v "$PWD":/work -w /work \
git.haxx.space/sjg/trx-rs-sdk:latest \
git.haxx.space/sjg/trx-rs/sdk:latest \
cargo build --release
```