docker-archlinux-rf/curl.it
surtur 7fb4c268f5
Some checks failed
continuous-integration/drone/push Build is failing
fix: yaml help is on it's way
2020-06-03 22:58:30 +02:00

8 lines
228 B
Bash
Executable File

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