forked from lthn/blockchain
Update build-docker.yml
This commit is contained in:
parent
79034cbbbf
commit
38d6a183d4
1 changed files with 5 additions and 6 deletions
11
.github/workflows/build-docker.yml
vendored
11
.github/workflows/build-docker.yml
vendored
|
|
@ -15,21 +15,22 @@ on:
|
|||
required: false
|
||||
type: string
|
||||
|
||||
env:
|
||||
LTHN_TAG: ${{ inputs.chain-network == 'testnet' && 'testnet' || 'latest' }}
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.runner }}
|
||||
env:
|
||||
LTHN_TAG: ${{ inputs.chain-network == 'testnet' && 'testnet' || 'latest' }}
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- arch: amd64
|
||||
runner: ubuntu-latest
|
||||
tag: ${{ env.LTHN_TAG }}-amd64
|
||||
tag: "${{ env.LTHN_TAG }}-amd64"
|
||||
platform: linux/amd64
|
||||
- arch: arm64
|
||||
runner: ubuntu-arm
|
||||
tag: ${{ env.LTHN_TAG }}-arm64
|
||||
tag: "${{ env.LTHN_TAG }}-arm64"
|
||||
platform: linux/arm64
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
@ -55,8 +56,6 @@ jobs:
|
|||
manifest:
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
LTHN_TAG: ${{ inputs.chain-network == 'testnet' && 'testnet' || 'latest' }}
|
||||
steps:
|
||||
- name: Log in to DockerHub
|
||||
uses: docker/login-action@v3
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue