1
0
Fork 0
forked from lthn/blockchain

Add DockerHub secrets to build-docker workflow

The build-docker workflow now requires DOCKERHUB_USERNAME and DOCKERHUB_TOKEN secrets, which are inherited in the _on-push workflow. This ensures DockerHub credentials are available for Docker-related actions.
This commit is contained in:
Snider 2025-09-27 17:20:29 +01:00
parent f5cd385fb3
commit 2783a7c339
2 changed files with 6 additions and 0 deletions

View file

@ -44,6 +44,7 @@ jobs:
uses: ./.github/workflows/build-docker.yml
with:
chain-network: ${{ github.ref_name == 'main' && 'mainnet' || 'testnet' }}
secrets: inherit
build-docs:
name: Docs

View file

@ -3,6 +3,11 @@ permissions:
contents: read
on:
workflow_call:
secrets:
DOCKERHUB_USERNAME:
required: true
DOCKERHUB_TOKEN:
required: true
inputs:
chain-network:
description: "The network to use, can either be testnet, stagenet or mainnet"