Skip to main content

Configure a trigger

Container Registry provides the trigger feature for image repositories. If you create a trigger for animage repository, a notification is pushed to you when an image is built. This facilitates theredeployment of images for applications. If you create a trigger for a container service, the applications on the container service automatically pull and redeploy the new images that are built on the container service. This topic describes how to configure a trigger.

Security rules on trigger usage

  • HTTP: Port 80 is used by default.
    If you want to use another port, append the port number to the end of the trigger URL. You can use only the following port numbers: 80, 21, 443, 70, 210, 280, 488, 591, 777, and from1025 to 65535.
  • HTTPS: Port 443 is used by default.
    Only port 443 is supported. If you want to use another port, use HTTP.

Procedure

On the Repository page, find the repository that you want to manage and click Manage in theActions column.
In the left-side navigation pane of the details page of the repository, click Trigger.
On the Trigger page, click Create.
In the Create Trigger dialog box, configure parameters and click Confirm.
fg-dc-acr-2.7-1