ci: push update to stacksmith
This commit is contained in:
parent
a479cd0e30
commit
f04b9402dd
|
|
@ -47,3 +47,7 @@ deployment:
|
|||
gcloud docker -- push gcr.io/$GCLOUD_PROJECT/$IMAGE_NAME:$CIRCLE_TAG
|
||||
gcloud docker -- push gcr.io/$GCLOUD_PROJECT/$IMAGE_NAME:latest
|
||||
fi
|
||||
- >
|
||||
if [ -n "$STACKSMITH_API_KEY" ]; then
|
||||
curl "https://stacksmith.bitnami.com/api/v1/components/$IMAGE_NAME/versions?api_key=$STACKSMITH_API_KEY" -H 'Content-Type: application/json' --data '{"version": "'"${CIRCLE_TAG%-r*}"'", "revision": "'"${CIRCLE_TAG#*-r}"'", "published": true}'
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue