mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 17:33:47 +00:00
Check CI-Deploy4
This commit is contained in:
parent
78d6b4852c
commit
e2c7049c36
2 changed files with 6 additions and 3 deletions
5
.github/workflows/deploy-test.yml
vendored
5
.github/workflows/deploy-test.yml
vendored
|
|
@ -30,6 +30,9 @@ jobs:
|
|||
sudo apt-get update
|
||||
sudo apt-get install -y docker-compose
|
||||
|
||||
- name: Export Environment Variable
|
||||
run: echo "DOCKER_HUB_USERNAME=${{ secrets.DOCKER_HUB_USERNAME }}" >> $GITHUB_ENV
|
||||
|
||||
- name: Set up Docker Compose
|
||||
run: |
|
||||
docker-compose up --build -d
|
||||
|
|
@ -46,4 +49,4 @@ jobs:
|
|||
npx hardhat test
|
||||
|
||||
- name: Shutdown Docker Compose
|
||||
run: docker-compose down
|
||||
run: docker-compose down
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@ version: '3.8'
|
|||
|
||||
services:
|
||||
geth:
|
||||
image: "${{ secrets.DOCKER_HUB_USERNAME }}/go-ethereum:latest"
|
||||
image: "${DOCKER_HUB_USERNAME}/go-ethereum:latest"
|
||||
ports:
|
||||
- "8545:8545"
|
||||
- "30303:30303"
|
||||
|
||||
command: --dev --http --http.addr 0.0.0.0
|
||||
Loading…
Reference in a new issue