docker-alpine-android/curl.it
surtur a85013bb78
All checks were successful
continuous-integration/drone/push Build is passing
feat: enable drone ci builds + add img metadata
* also add build status badges to README
* add metadata to the image at build time using a build hook
2021-01-06 01:49:03 +01: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