etcd-cluster-operator icon indicating copy to clipboard operation
etcd-cluster-operator copied to clipboard

Push docker images to docker hub on master commit

Open adamhosier opened this issue 6 years ago • 6 comments

AC:

  • Images are published to improbable's public docker hub on successful build of master with a short SHA
  • Pushed image is tagged with latest

adamhosier avatar Oct 23 '19 14:10 adamhosier

Do we want latest to point at the latest unstable commit? Or would we be better to have latest point at the latest tagged release? I guess this can change when we start cutting releases 😄

Also, is this what other improbable projects do? We're moving away from having CI push to public registries in cert-manager (mostly due to security concerns, and how easy it could be to roll out a bad image 🙄)

munnerz avatar Oct 23 '19 18:10 munnerz

@munnerz happy to hear alternatives! how are you looking to replace the story of a user who urgently needs to use a pre-release build & can't want for a version bump?

adamhosier avatar Oct 24 '19 10:10 adamhosier

(for cert-manager specifically): we are planning on continuing to publish master to a separate image repo (i.e. cert-manager-unstable), and then having tagged releases promoted via a process that requires human-intervention.

It's probably not worthwhile setting up a separate repo just for this now, but I think at least not tagging the latest HEAD of master as latest and instead tagging it as something more descriptive (i.e. unstable) would help. We purposely don't have a latest tag to stop people depending on it 😅

munnerz avatar Oct 24 '19 17:10 munnerz

We are likely to change this to pushing images to quay.io instead of Docker Hub, since Docker Hub doesn't really have a nice way for authenticating robots (other than, create a "robot" account).

cheahjs avatar Feb 13 '20 13:02 cheahjs

Is there progress on this? We need to build/compile the image internally now. It'd nice to have on quay.io or docker hub..

ghost avatar Sep 09 '21 12:09 ghost

Is there progress on this? We need to build/compile the image internally now. It'd nice to have on quay.io or docker hub..

BTW I found the images on the github registry: ghcr.io/improbable-eng

ghost avatar Sep 20 '21 14:09 ghost