docker-fedora-hugo/curl.it
surtur d50807c73c
Some checks failed
continuous-integration/drone/push Build is failing
feat: added .drone.yml+curl.it and updated README.md
2020-06-07 07:07:39 +02:00

8 lines
228 B
Bash
Executable File

#!/bin/bash
if [ $# -gt 1 ]; then
curl -s -H 'Content-Type: application/json' --data '{"docker_tag":"nightly"}' -X POST $2
else
curl -s -H 'Content-Type: application/json' --data '{"docker_tag":"latest"}' -X POST $1
fi