From: Christian Marangi Date: Sat, 17 Dec 2022 01:02:26 +0000 (+0100) Subject: CI: build: add option to configure container to use X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=803b0110485a12c1119a51044d17979795ede966;p=openwrt%2Fstaging%2Fnbd.git 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 --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0e5f36c112..ef7fc51d9a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,6 +5,9 @@ on: secrets: coverity_api_token: inputs: + container_name: + type: string + default: tools target: required: true type: string @@ -120,7 +123,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