Skip to content

Commit

Permalink
update nitro-testnode pin
Browse files Browse the repository at this point in the history
  • Loading branch information
ganeshvanahalli committed Oct 12, 2023
1 parent 7c71779 commit c9c731e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
target: nitro-node
push: true
context: .
tags: nitro-node:latest
tags: localhost:5000/nitro-node:latest
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max

Expand All @@ -55,13 +55,14 @@ jobs:
target: nitro-node-dev
push: true
context: .
tags: nitro-node-dev:latest
tags: localhost:5000/nitro-node-dev:latest
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max

- name: Start background nitro-testnode
shell: bash
run: |
docker tag localhost:5000/nitro-node-dev:latest nitro-node-dev-testnode:latest
cd nitro-testnode
./test-node.bash --init --dev &
Expand All @@ -75,7 +76,7 @@ jobs:
run: |
# Unfortunately, `docker cp` seems to always result in a "permission denied"
# We work around this by piping a tarball through stdout
docker run --rm --entrypoint tar nitro-node-dev:latest -cf - target/machines/latest | tar xf -
docker run --rm --entrypoint tar localhost:5000/nitro-node-dev:latest -cf - target/machines/latest | tar xf -
module_root="$(cat "target/machines/latest/module-root.txt")"
echo "name=module-root=$module_root" >> $GITHUB_STATE
echo -e "\x1b[1;34mWAVM module root:\x1b[0m $module_root"
Expand Down
2 changes: 1 addition & 1 deletion nitro-testnode

0 comments on commit c9c731e

Please sign in to comment.