We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I created a yaml file named test.yaml with this configuration:
test.yaml
kind: pipeline type: docker name: default steps: - name: {{ .input.name }} image: {{ .input.image }} commands: - {{ .input.commands }}
But when I try to add the template with the command drone template add --namespace test --name test --data @test.yaml it raises this error:
drone template add --namespace test --name test --data @test.yaml
client error 400: {"message":"Template extension invalid. Must be yaml, starlark or jsonnet"}
I tried to change the extension to .yml, execute the command without the "@", pass the full path of the file, but the error continues.
.yml
I'm using CentOS 7.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I created a yaml file named
test.yaml
with this configuration:But when I try to add the template with the command
drone template add --namespace test --name test --data @test.yaml
it raises this error:client error 400: {"message":"Template extension invalid. Must be yaml, starlark or jsonnet"}
I tried to change the extension to
.yml
, execute the command without the "@", pass the full path of the file, but the error continues.I'm using CentOS 7.
The text was updated successfully, but these errors were encountered: