This commit is contained in:
parent
8513d3d937
commit
a582b963a0
@ -15,7 +15,7 @@ steps:
|
|||||||
image: bv11-cr01.bessems.eu/proxy/alpine/curl
|
image: bv11-cr01.bessems.eu/proxy/alpine/curl
|
||||||
commands:
|
commands:
|
||||||
- |
|
- |
|
||||||
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
|
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
|
exit 0
|
||||||
else
|
else
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user