Merge pull request #4 from lyuboangelov/create-workflows

fix pipeline and container create sscript
This commit is contained in:
Lyuboslav Angelov 2023-11-15 15:55:31 +02:00 committed by GitHub
commit 7d06ea7bef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View file

@ -14,13 +14,9 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20.9.0
- name: Set up Docker Compose
uses: docker/compose-cli@v1
with:
version: '3.0'
- name: Run geth devnet
run: docker compose up -d
run: docker run --name go-ethereum -p 8545:8545 -p 30303:30303 anglyuboslav/geth --dev --http --http.addr 0.0.0.0
- name: Install dependencies
run: |

View file

@ -1,7 +1,7 @@
#!/bin/bash
# Set the name of the container you want to create an image from
container_name="limechain-task-geth-1"
container_name="go-ethereum"
# Get the container ID by filtering the output of `docker ps`
container_id=$(docker ps -qf "name=$container_name")