-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Aspire schema fixes. * latest update. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add test case to cover container.v1 resource. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
6b6a375
commit 07352f9
Showing
2 changed files
with
164 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/aspire-8.0.json", | ||
"resources": { | ||
"goversion": { | ||
"inputs": { | ||
"value": { | ||
"type": "string" | ||
} | ||
}, | ||
"type": "parameter.v0", | ||
"value": "{goversion.inputs.value}" | ||
}, | ||
"mycontainer": { | ||
"build": { | ||
"args": { | ||
"GO_VERSION": "{goversion.value}" | ||
}, | ||
"context": "qots", | ||
"dockerfile": "qots/Dockerfile", | ||
"secrets": { | ||
"SECRET_ASENV": { | ||
"type": "env", | ||
"value": "{secret.value}" | ||
}, | ||
"SECRET_ASFILE": { | ||
"source": "Program.cs", | ||
"type": "file" | ||
} | ||
} | ||
}, | ||
"type": "container.v1" | ||
}, | ||
"secret": { | ||
"inputs": { | ||
"value": { | ||
"secret": true, | ||
"type": "string" | ||
} | ||
}, | ||
"type": "parameter.v0", | ||
"value": "{secret.inputs.value}" | ||
} | ||
} | ||
} |