Fix curl line + git ref
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
db9de5342f
commit
aa3cd9d749
|
@ -9,7 +9,7 @@ steps:
|
||||||
- apk update
|
- apk update
|
||||||
- apk add envsubst curl
|
- apk add envsubst curl
|
||||||
- envsubst < portainer_deploy.template.json > portainer_deploy.json
|
- envsubst < portainer_deploy.template.json > portainer_deploy.json
|
||||||
- curl -d "portainer_deploy.json" -H "X-Api-Key=ptr_RwxH2Cd+htdD2FoFiG46erT9beyvj9VoF3BrQPtDH3Q=" -X POST https://dvportainer.privatedns.org/stacks/create/standalone/repository
|
- curl -d @portainer_deploy.json -H "Content-Type:application/json" -H "X-API-Key:ptr_RwxH2Cd+htdD2FoFiG46erT9beyvj9VoF3BrQPtDH3Q=" -X POST https://dvportainer.privatedns.org/api/stacks/create/standalone/repository?endpointId=10
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
"repositoryAuthentication": true,
|
"repositoryAuthentication": true,
|
||||||
"repositoryUsername": "cicd",
|
"repositoryUsername": "cicd",
|
||||||
"repositoryPassword": "gJ6@$7ZjWGyV4%i",
|
"repositoryPassword": "gJ6@$7ZjWGyV4%i",
|
||||||
"repositoryReferenceName": "/refs/heads/main",
|
"repositoryReferenceName": "refs/heads/main",
|
||||||
"repositoryURL": "https://dvgit.privatedns.org/lars/DeployTests",
|
"repositoryURL": "https://dvgit.privatedns.org/lars/DeployTests",
|
||||||
"tlsskipVerify": false
|
"tlsskipVerify": false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue