-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
embed schema.json using go 1.16 support for static resources #105
Conversation
8f26ce7
to
4921014
Compare
.github/workflows/ci.yml
Outdated
@@ -16,13 +16,13 @@ jobs: | |||
test: | |||
strategy: | |||
matrix: | |||
go-version: [1.13.x, 1.14.x] | |||
go-version: [1.16.0] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should make this float with patch releases.
go-version: [1.16.0] | |
go-version: [1.16.x] |
@@ -87,7 +87,7 @@ | |||
"dockerfile": {"type": "string"}, | |||
"args": {"$ref": "#/definitions/list_or_dict"}, | |||
"labels": {"$ref": "#/definitions/list_or_dict"}, | |||
"cache_from": {"$ref": "#/definitions/list_of_strings"}, | |||
"cache_from": {"type": "array", "items": {"type": "string"}}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Were the changes to the schema intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I used the latest from compose-spec repo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with CI fix
Signed-off-by: Nicolas De Loof <[email protected]>
The
embed
package add support for embedding static resources without relying on code generationhttps://golang.org/pkg/embed/