88 default : ${{github.ref}}
99 required : false
1010 type : string
11- build -devcontainer :
12- description : " True will build the devcontainer"
13- default : true
11+ skip -devcontainer :
12+ description : " True will skip the build of the devcontainer"
13+ default : false
1414 required : false
1515 type : boolean
1616 outputs :
@@ -33,10 +33,10 @@ jobs:
3333 uses : ./.github/workflows/build-devcontainer.yaml
3434 secrets : inherit
3535 with :
36- # NOTE: We check "! = true" instead of just checking the value
36+ # NOTE: We check "= = true" instead of just checking the value
3737 # since by default when the workflow is call with "workflow dispatch"
3838 # the input will (sadly) be "" and not use the default value
39- skip : ${{ inputs.build -devcontainer ! = true }}
39+ skip : ${{ inputs.skip -devcontainer = = true }}
4040
4141 build :
4242 runs-on : ubuntu-latest
5252 # This "ugly" workaround is needed for now because we use a container to run the job
5353 # so we use docker-in-docker but by default github mount the workspace in the container
5454 # not at the same location
55- # - on the host it's on github.workspace => /home/runner/work/artesca/artesca
56- # - in the container it's on GITHUB_WORKSPACE => /__w/artesca/artesca
55+ # - on the host it's on github.workspace => /home/runner/work/metalk8s/metalk8s
56+ # - in the container it's on GITHUB_WORKSPACE => /__w/metalk8s/metalk8s
5757 # Which means if we want to creata docker with bind mount we need to use the host path
5858 # that's why we also mount the workspace in the container at the same location
5959 - ${{ github.workspace }}:${{ github.workspace }}
@@ -121,7 +121,7 @@ jobs:
121121 secrets : inherit
122122 with :
123123 ref : ${{ inputs.ref }}
124- build -devcontainer : false
124+ skip -devcontainer : true
125125
126126 write-final-status :
127127 runs-on : ubuntu-24.04
0 commit comments