Check CI-Deploy4

This commit is contained in:
Nikola 2025-01-06 23:18:59 +02:00
parent 78d6b4852c
commit e2c7049c36
2 changed files with 6 additions and 3 deletions

View file

@ -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

View file

@ -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