forked from lthn/blockchain
Update build-docker.yml
This commit is contained in:
parent
56bb2a1abf
commit
d11cee2229
1 changed files with 8 additions and 1 deletions
9
.github/workflows/build-docker.yml
vendored
9
.github/workflows/build-docker.yml
vendored
|
|
@ -34,6 +34,9 @@ jobs:
|
|||
platform: linux/arm64
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
submodules: recursive
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
|
@ -47,9 +50,13 @@ jobs:
|
|||
- name: Build and push image
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
context: ${{ github.workspace }}
|
||||
file: utils/docker/images/lthn-chain/Dockerfile
|
||||
push: true
|
||||
build-args: |
|
||||
BUILD_TESTNET=${{ inputs.chain-network == 'testnet' && '1' || '0' }}
|
||||
THREADS=2
|
||||
BUILD_LOCAL=1
|
||||
platforms: ${{ matrix.platform }}
|
||||
tags: lthn/chain:${{ env.LTHN_TAG }}${{ matrix.tag }}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue