forked from mirror/openwrt
CI: build: add option to configure container to use
Add option to configure container to use for build test.
By default the tools container is used if no option is provided.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 803b011048)
This commit is contained in:
parent
b98b3d4296
commit
6c80c7533b
1 changed files with 4 additions and 1 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
|
@ -5,6 +5,9 @@ on:
|
|||
secrets:
|
||||
coverity_api_token:
|
||||
inputs:
|
||||
container_name:
|
||||
type: string
|
||||
default: tools
|
||||
target:
|
||||
required: true
|
||||
type: string
|
||||
|
|
@ -112,7 +115,7 @@ jobs:
|
|||
needs: setup_build
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
container: ghcr.io/${{ needs.setup_build.outputs.owner_lc }}/tools:${{ needs.setup_build.outputs.container_tag }}
|
||||
container: ghcr.io/${{ needs.setup_build.outputs.owner_lc }}/${{ inputs.container_name }}:${{ needs.setup_build.outputs.container_tag }}
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue