Testing shebang
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Danny Bessems 2022-07-31 19:58:16 +02:00
parent 57d33f65c7
commit 652a1fed72
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,8 @@ steps:
image: bv11-cr01.bessems.eu/proxy/alpine/curl
commands:
- |
#!/bin/bash
if [[ $(curl -s -o /dev/null -w "%{http_code}" https://code.spamasaurus.com/api/v1/packages/$GIT_USERNAME/generic/skopeo/$SKOPEO_VERSION) -ne '200']]; then
exit 0
else