GAP Documentation
GitHub Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Using prebuilt image

Prebuilt images setting is a noop in the new pipeline, once you finished migration this can be removed.

By default the deployment pipeline builds an image from the Dockerfile in your repository. If it is already built during the CI steps you can skip this additional building in the deployment process to reduce the time of your deployment.

Steps:

  • set usePrebuiltImage: true in your gap.yaml
  • your build needs to push an image to eu.gcr.io/ems-gap-images/<image-name>
  • if your image does not conform to the name of eu.gcr.io/ems-gap-images/<my-application-name> (same as the name property in your gap.yaml) you need to set the image property in the gap.yaml to the full name you have published your image.
To prevent application code updates without CI runs, the build tool adds the sha checksum of the current image with that tag to the image used on the cluster.
The area deploy user - which is used already in the CI configurations to trigger the deployment - should be used to push the docker image into the Container Registry.