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",
|
"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": {
|
"customizations": {
|
||||||
|
// Configure properties specific to VS Code.
|
||||||
"vscode": {
|
"vscode": {
|
||||||
"settings": {},
|
"settings": {},
|
||||||
"extensions": [
|
"extensions": [
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ configure:
|
||||||
before_script:
|
before_script:
|
||||||
- apk add --no-cache jq
|
- apk add --no-cache jq
|
||||||
script:
|
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
|
- printf 'BUILD_IMAGE=%s' "$BUILD_IMAGE" > build_image.env
|
||||||
- ls -la build_image.env
|
- ls -la build_image.env
|
||||||
- cat build_image.env
|
- cat build_image.env
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue