mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
New flow
This commit is contained in:
parent
3355523970
commit
2c9ff61c30
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 }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
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
|
- name: Run local devnet
|
||||||
run: docker-compose up -d
|
run: docker-compose up -d
|
||||||
|
|
||||||
- name: Build a new image with Apollo contract
|
- name: Build a new image with Apollo contract
|
||||||
run: docker build -t hardhat-ignition .
|
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
|
- name: Destroy local devnet
|
||||||
run: docker-compose down
|
run: docker-compose down
|
||||||
|
|
@ -5,11 +5,20 @@ services:
|
||||||
image: e1018mc/limechain:go-ethereum-app
|
image: e1018mc/limechain:go-ethereum-app
|
||||||
platform: linux/x86_64
|
platform: linux/x86_64
|
||||||
ports:
|
ports:
|
||||||
- "8545:8545"
|
- "8546:8546"
|
||||||
environment:
|
environment:
|
||||||
- ENV_VAR=Test
|
- ENV_VAR=Test
|
||||||
networks:
|
networks:
|
||||||
- devnet
|
- devnet
|
||||||
|
app2:
|
||||||
|
image: e1018mc/limechain:smart_contract
|
||||||
|
platform: linux/x86_64
|
||||||
|
ports:
|
||||||
|
- "8545:8545"
|
||||||
|
environment:
|
||||||
|
- ENV_VAR=Test-contracts
|
||||||
|
networks:
|
||||||
|
- devnet
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
devnet:
|
devnet:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue