Skip to content

Commit

Permalink
chore: Add script to publish from docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
i0n committed Nov 12, 2024
1 parent a4354bb commit 6000c8e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/docker-cargo-publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash

# NOTE: Run from project root ./scripts/docker-cargo-publish.sh

docker build -t graphcast-sdk-dev -f Dockerfile.dev .
docker run --rm -e CARGO_REGISTRY_TOKEN=$CARGO_REGISTRY_TOKEN -v .:/app graphcast-sdk-dev cargo publish

0 comments on commit 6000c8e

Please sign in to comment.