ci: Experiment with JSON with comments

This commit is contained in:
Matthew Binning 2025-12-15 09:32:41 -08:00
parent 429c70d383
commit 483032df78
No known key found for this signature in database
2 changed files with 5 additions and 2 deletions

View file

@ -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": [

View file

@ -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