Remove automated docker cloud hooks

pull/1071/head
Simon Li 2021-07-04 18:30:39 +01:00
rodzic 297c7955d2
commit 97ca881a01
3 zmienionych plików z 1 dodań i 13 usunięć

Wyświetl plik

@ -5,8 +5,7 @@ RUN apk add --no-cache git python3 python3-dev py-pip build-base
# build wheels in first image
ADD . /tmp/src
# restore the hooks directory so that the repository isn't marked as dirty
RUN cd /tmp/src && git clean -xfd && git checkout -- hooks && git status
RUN cd /tmp/src && git clean -xfd && git status
RUN mkdir /tmp/wheelhouse \
&& cd /tmp/wheelhouse \
&& pip3 install wheel \

Wyświetl plik

@ -1,3 +0,0 @@
# Docker build hooks
These define our [custom hooks for docker automated builds](https://docs.docker.com/docker-hub/builds/advanced/#custom-build-phase-hooks)

Wyświetl plik

@ -1,8 +0,0 @@
#!/bin/bash
# when building jupyter/repo2docker:main
# also push jupyter/repo2docker:1.2.3-3.abcd1234 (replace + with -)
version=$(docker run $DOCKER_REPO:$DOCKER_TAG jupyter-repo2docker --version | sed s@+@-@)
VERSION_IMAGE="$DOCKER_REPO:$version"
docker tag $DOCKER_REPO:$DOCKER_TAG "$VERSION_IMAGE"
docker push "$VERSION_IMAGE"