cloud-ark / kubeplus

Kubernetes Operator for multi-instance multi-tenancy
https://cloudark.io/
Apache License 2.0
651 stars 78 forks source link

GitHub Action to create and push images to GCR #1310

Open devdattakulkarni opened 2 months ago

devdattakulkarni commented 2 months ago

We should add a GitHub Action that will build the image for each component and push it to GCR (where the official images are stored). This GH Action will be manually triggered.

The workflow will be:

  1. Update versions.txt for relevant components; create PR; merge PR
  2. Trigger build_and_push_images GH Action. This GH Action will build versioned images for each component and push them to GCR
  3. Create new PR with updates to Chart.yaml and values.yaml in ./deploy/kubeplus-chart; merge PR
  4. Create new KubePlus chart; push it to operatorcharts repository.
  5. Create PR with updates to README and steps.txt in various examples to refer to the new chart tgz
devdattakulkarni commented 2 months ago

References: https://github.com/marketplace/actions/push-to-gcr-github-action https://medium.com/mistergreen-engineering/uploading-a-docker-image-to-gcr-using-github-actions-92e1cdf14811