mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 02:29:01 +00:00
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>
This commit is contained in:
parent
ce2e7c52f8
commit
803b011048
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -5,6 +5,9 @@ on:
|
|||||||
secrets:
|
secrets:
|
||||||
coverity_api_token:
|
coverity_api_token:
|
||||||
inputs:
|
inputs:
|
||||||
|
container_name:
|
||||||
|
type: string
|
||||||
|
default: tools
|
||||||
target:
|
target:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
@ -120,7 +123,7 @@ jobs:
|
|||||||
needs: setup_build
|
needs: setup_build
|
||||||
runs-on: ubuntu-latest
|
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:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
Loading…
Reference in New Issue
Block a user