mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-09 19:12:59 +00:00
13 lines
370 B
Bash
Executable File
13 lines
370 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Tag the latest build with the short git sha. Push the tag in addition
|
|
# to the "latest" tag already pushed.
|
|
GIT_SHA_TAG=${SOURCE_COMMIT:0:12}
|
|
docker tag $IMAGE_NAME $DOCKER_REPO:$GIT_SHA_TAG
|
|
docker push $DOCKER_REPO:$GIT_SHA_TAG
|
|
|
|
# Invoke all downstream build triggers.
|
|
for url in $(echo $NEXT_BUILD_TRIGGERS | sed "s/,/ /g")
|
|
do
|
|
curl -X POST $url
|
|
done |