mozilla / observatory-cli

Mozilla Public License 2.0
187 stars 24 forks source link

Set up https://hub.docker.com/r/mozilla/observatory-cli/ as automated build #33

Open tmaier opened 6 years ago

tmaier commented 6 years ago

https://hub.docker.com/r/mozilla/observatory-cli/

Docker Hub automated builds do have the following advantages:

gregglind commented 6 years ago

I understand not a bit of docker. This very much a patches welcome :)

On Mon, Apr 23, 2018 at 6:08 PM Tobias L. Maier notifications@github.com wrote:

Docker Hub automated builds do have the following advantages:

  • image is being rebuilt, with every push to your branches
  • Images will be re-built if the base image (alpine) in your case got updated. This would also update the dependent packages you install with your Dockerfile.
  • A user can inspect directly at https://hub.docker.com the Dockerfile, which improves security

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mozilla/observatory-cli/issues/33, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKAj_-5DLzhONBdfKsDx-ZmVu2WJiefks5trl7UgaJpZM4TgwUX .

tmaier commented 6 years ago

Unfortunately, it cannot be fixed with a pull request. It is how you configure the repository on hub.docker.com. See https://docs.docker.com/docker-hub/builds/

When I see it right, you would need to do the following steps

gregglind commented 6 years ago

Thank you for the tips, i will look into it.

On Mon, Apr 23, 2018 at 6:36 PM Tobias L. Maier notifications@github.com wrote:

Unfortunately, it cannot be fixed with a pull request. It is how you configure the repository on hub.docker.com. See https://docs.docker.com/docker-hub/builds/

When I see it right, you would need to do the following steps

  • Connect your github account with docker hub
  • delete the current repo (as it cannot be converted to an automated build repo)
  • create the repo as automated build repo
  • Link this repo to the alpine repo to trigger a build as soon as the base image gets updated

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/mozilla/observatory-cli/issues/33#issuecomment-383755664, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKAj1FIkdOhUtlXgessayK4I8R8c_NGks5trmVygaJpZM4TgwUX .

mikesir87 commented 5 years ago

I would very much be interested in this. Connecting an automated deploy is fairly easy to do, especially with the recently redesigned Docker Hub. Any chance this can happen?