All Products
Search
Document Center

Apsara Devops:Build an image from Alibaba Cloud Container Registry

Last Updated:Sep 27, 2021

Flow uses Docker to build components and provides common image-building capabilities in various languages. This allows you to build container images by using the Dockerfile in the code repository and push the images to Alibaba Cloud Container Registry(ACR).

Prerequisites

  1. ACR service is available.

  2. The code source contains the Dockerfile.

Configure a task

In the Build Steps field, do the following steps:

1 Select ACR Build step on the pipeline editing page.

2 Create and select the service authorization of Alibaba Cloud.

3 Select the specific ACR region and the ACR docker registry.

4 Fill in the docker tag and dockerfile path.

5 Save and run pipeline.

12