How to automate Angular building, dockerizing, and pushing image on gcloud

  angular, automation, build, docker, gcloud

I’m trying to figure out whether it is possible to automate the processes of building, dockerizing, and pushing the image on a Google Container Registry.

I’d like to perform the action like jib does to a maven projects.
Is there any framework, plugin… something that can help me to do this?

So far I do these steps by running:

  • ng build –prod;
  • docker-compose up –no-start;
  • gcloud docker — push gcr.io/my-env/project/frontend:x.y.z;

Thank you!

Andrea

Source: Docker Questions

LEAVE A COMMENT