Skip to content

Commit ce35f47

Browse files
committed
Actually remove push method
1 parent 56cf063 commit ce35f47

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

repo2docker/engine.py

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -288,27 +288,6 @@ def inspect_image(self, image):
288288
"""
289289
raise NotImplementedError("inspect_image not implemented")
290290

291-
def push(self, image_spec):
292-
"""
293-
Push image to a registry
294-
295-
If the registry_credentials traitlets is set it should be used to
296-
authenticate with the registry before pushing.
297-
298-
Parameters
299-
----------
300-
image_spec : str
301-
The repository spec to push to
302-
303-
Returns
304-
-------
305-
A generator of strings. If an error occurs an exception must be thrown.
306-
307-
If `string_output=True` this should instead be whatever Docker returns:
308-
https://github.com/jupyter/repo2docker/blob/0.11.0/repo2docker/app.py#L469-L495
309-
"""
310-
raise NotImplementedError("push not implemented")
311-
312291
# Note this is different from the Docker client which has Client.containers.run
313292
def run(
314293
self,

0 commit comments

Comments
 (0)