Skip to content

Commit 6000c8e

Browse files
committed
chore: Add script to publish from docker container
1 parent a4354bb commit 6000c8e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/docker-cargo-publish.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env bash
2+
3+
# NOTE: Run from project root ./scripts/docker-cargo-publish.sh
4+
5+
docker build -t graphcast-sdk-dev -f Dockerfile.dev .
6+
docker run --rm -e CARGO_REGISTRY_TOKEN=$CARGO_REGISTRY_TOKEN -v .:/app graphcast-sdk-dev cargo publish

0 commit comments

Comments
 (0)