mirror of
https://github.com/bitnami/containers.git
synced 2026-03-20 23:10:53 +08:00
Merge pull request #85 from prydonius/update-stacksmith
ci: push update to stacksmith
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user