ci: Experiment with JSON with comments
This commit is contained in:
parent
429c70d383
commit
483032df78
2 changed files with 5 additions and 2 deletions
|
|
@ -1,7 +1,10 @@
|
|||
{
|
||||
"name": "Dood Build",
|
||||
"image": "gl.whitefoxdefense.com:5050/mbinning/dood/build:0.5",
|
||||
"image": "gl.whitefoxdefense.com:5050/mbinning/dood/build:0.1",
|
||||
|
||||
// Configure tool-specific properties.
|
||||
"customizations": {
|
||||
// Configure properties specific to VS Code.
|
||||
"vscode": {
|
||||
"settings": {},
|
||||
"extensions": [
|
||||
|
|
|
|||
|
|
@ -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