ci: Experiment with JSON with comments
This commit is contained in:
parent
429c70d383
commit
483032df78
2 changed files with 5 additions and 2 deletions
|
|
@ -24,7 +24,7 @@ configure:
|
|||
before_script:
|
||||
- apk add --no-cache jq
|
||||
script:
|
||||
- BUILD_IMAGE=$(jq -r '.image // .build.args.BASE_IMAGE' .devcontainer/devcontainer.json)
|
||||
- BUILD_IMAGE=$(grep '"image":' .devcontainer/devcontainer.json | cut -d '"' -f 4)
|
||||
- printf 'BUILD_IMAGE=%s' "$BUILD_IMAGE" > build_image.env
|
||||
- ls -la build_image.env
|
||||
- cat build_image.env
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue