kopia lustrzana https://github.com/jupyterhub/repo2docker
rodzic
41d027b5a9
commit
e72149a5b4
|
@ -0,0 +1,3 @@
|
|||
# Docker build hooks
|
||||
|
||||
These define our [custom hooks for docker automated builds](https://docs.docker.com/docker-hub/builds/advanced/#custom-build-phase-hooks)
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# when building jupyter/repo2docker:master also push jupyter/repo2docker:abcd1234
|
||||
|
||||
HASH_IMAGE="$DOCKER_REPO:${SOURCE_COMMIT:8}"
|
||||
docker tag $DOCKER_REPO:$DOCKER_TAG $HASH_IMAGE
|
||||
docker push $HASH_IMAGE
|
Ładowanie…
Reference in New Issue