8 lines
228 B
Plaintext
8 lines
228 B
Plaintext
|
#!/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
|