mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
commit
5ec7bd1c27
2 changed files with 18 additions and 8 deletions
15
.github/workflows/ci_workflow.yaml
vendored
15
.github/workflows/ci_workflow.yaml
vendored
|
|
@ -52,18 +52,19 @@ jobs:
|
|||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: hardhat/Dockerfile
|
||||
push: true
|
||||
tags: e1018mc/limechain:smart_contract
|
||||
|
||||
- name: Run local devnet
|
||||
run: docker-compose up -d
|
||||
|
||||
- name: Build a new image with Apollo contract
|
||||
run: docker build -t hardhat-ignition .
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: e1018mc/limechain:apollo_contract
|
||||
|
||||
- name: Destroy local devnet
|
||||
run: docker-compose down
|
||||
|
|
@ -5,11 +5,20 @@ services:
|
|||
image: e1018mc/limechain:go-ethereum-app
|
||||
platform: linux/x86_64
|
||||
ports:
|
||||
- "8545:8545"
|
||||
- "8546:8546"
|
||||
environment:
|
||||
- ENV_VAR=Test
|
||||
networks:
|
||||
- devnet
|
||||
app2:
|
||||
image: e1018mc/limechain:smart_contract
|
||||
platform: linux/x86_64
|
||||
ports:
|
||||
- "8545:8545"
|
||||
environment:
|
||||
- ENV_VAR=Test-contracts
|
||||
networks:
|
||||
- devnet
|
||||
|
||||
networks:
|
||||
devnet:
|
||||
|
|
|
|||
Loading…
Reference in a new issue