Skip to content
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

chore: fix docker hub submodule error #22

Merged
merged 3 commits into from
Sep 22, 2020
Merged

Conversation

olizilla
Copy link
Contributor

Our autobuilds on dockerhub are failing when it tries to fetch the submodule.

The internet suggests the fix is to use dockerhub hooks to init the submodule post checkout.

see: https://stackoverflow.com/questions/58690455/how-to-correctly-initialize-git-submodules-in-dockerfile-for-docker-cloud

License: MIT
Signed-off-by: Oli Evans [email protected]

Our autobuilds on dockerhub are failing when it tries to fetch the submodule.

The internet suggests the fix is to use dockerhub hooks to init the submodule post checkout.

see: https://stackoverflow.com/questions/58690455/how-to-correctly-initialize-git-submodules-in-dockerfile-for-docker-cloud

License: MIT
Signed-off-by: Oli Evans <[email protected]>
Copy link
Contributor

@placer14 placer14 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not thrilled about the non-hidden path, but LGTM.

@olizilla
Copy link
Contributor Author

Agreed. Dockerhub integration is weird. I can switch it to pushing images from CI.

@olizilla olizilla merged commit f176923 into master Sep 22, 2020
@olizilla olizilla deleted the dockerhub-submodule-hook branch September 22, 2020 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants