New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
image push fails with: An image does not exist locally with the tag #1828
Comments
@ssinari we've had quite a few releases go out since this issue was opened. Can you please confirm that 1) this is still an issue on your repo/build 2) provide as much info as possible on your setup and Dockerfile to help us reproduce the issue? |
Hello Sarkis,
Thanks for getting back to me. Autobuild still has the same issue. I have a
GitHub account linked to my dockerHub account and the autobuild is
triggered automatically. Happens in the root context. Here is the build
config:
[image: image.png]
Here is the latest build failure log:
[image: image.png]
But a build with tag 1.0 already exists:
[image: image.png]
Let me know if you need more information.
Thanks,
--
…On Thu, Jun 20, 2019 at 10:05 AM Sarkis Varozian ***@***.***> wrote:
@ssinari <https://github.com/ssinari> we've had quite a few releases go
out since this issue was opened. Can you please confirm that 1) this is
still an issue on your repo/build 2) provide as much info as possible on
your setup and Dockerfile to help us reproduce the issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1828?email_source=notifications&email_token=AAZAJHLM32VKYO4QUZD42FTP3O2GFA5CNFSM4HSQQS42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYGAY2A#issuecomment-504106088>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAZAJHP6VZI7IUMBPS5GJBTP3O2GFANCNFSM4HSQQS4Q>
.
|
I am having the same problem. My custom build hook: #!/bin/bash
echo "===================================================================================="
echo "Custom Build hook running"
docker build --build-arg BITBUCKET_PWD=$BITBUCKET_PWD -f $DOCKERFILE_PATH -t $IMAGE_NAME .
echo "====================================================================================" Here's the output: Building in Docker Cloud's infrastructure...
Cloning into '.'...
Warning: Permanently added the RSA host key for IP address '18.205.93.2' to the list of known hosts.
Switched to a new branch '0.6.7'
Executing build hook...
==============================================================================================
Custom Build hook running
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /src/bub2dxcomwdjx4wfjpn6wwg/docker/gpu/docker: no such file or directory
==============================================================================================
Pushing index.docker.io/jenslaufer/rl-trainer:0.6.7-gpu...
Push failed. Attempt 2 in 60 seconds.
Push failed. Attempt 3 in 60 seconds.
Push failed. Attempt 4 in 60 seconds.
Push failed. Attempt 5 in 60 seconds.
{u'message': u'An image does not exist locally with the tag: jenslaufer/rl-trainer'} |
Wondering if there's any insight into this issue? I'm experiencing the same thing. Build seems to work, then when the push occurs:
Looks like maybe a timeout on the push, with a generic error message maybe? |
@rossja looks like your custom hook is not tagging the image; it should tag the image |
You can create a webhook>their might be an issue with docker file and image or application file. |
Having the same issue without any build hooks. The build process is only able to tag "latest". Here are more details: |
We are clearing up our old issues and your ticket has been open for 6 months with no activity. Remove stale label or comment or this will be closed in 15 days. |
Problem description
This is a autobuild issue I am having with autobuild configured on Docker Hub.
I have configured autobuild for a repo on docker hub and linked it to a github repo. I have also linked an image to the
tag
namedlatest
.Here is the log from the most recent autobuild.
Apparently the
build
andtag
commands are successful butpush
is failing for the autobuild.However,
push
from local computer succeeds.Any help on how to resolve this issue will be highly appreciated.
Thanks.
The text was updated successfully, but these errors were encountered: