Docker Community Forums

Share and learn in the Docker community.

Automated build fails, unclear why

i have a github repo that i’m trying to configure for automated builds on docker hub. the linking and rules seem correct. if i push a new tag v1.0.1 to github, dockerhub sees it and tries to build. the build fails:

Cloning into '.'...
Warning: Permanently added the RSA host key for IP address '140.82.114.4' to the list of known hosts.
Switched to a new branch 'v1.0.1'
Executing post_checkout hook...
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
post\_checkout hook failed! (2)

i can build the docker image from github repo locally with “docker build URL” and that succeeds…

any help would be appreciated.

thanks for the help.

it’s a fork of this repo: https://github.com/dperson/samba

seems the multi-arch hooks is giving me issues. replacing all the hooks with exit 0, the build succeeds…

how do i setup docker hub to work with this multi-arch repo?