Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To configure credential details according to the cloud provider, please refer to this document: Docker Registry Setup For Cloud Providers

Configure Container Account

Configure your AWS Container Account under Topology. FlexDeploy will connect to the AWS private container registry and push the image.

  1. Navigate to the Integrations menu

  2. Navigate to the Containers tab

  3. Create a new Containers account by pressing the Create button. Create a new Docker Registry account of provider type DockerRegistry

...

It should have a Registry Address, Registry User, and Registry Token/Password configured in it.

...

The steps of the workflow execution can be configured from the Definition tab. Below is a sample build workflow.

...

Step 1: Clone Project Sources

This step will clone the Git repository codebase into the Project’s execution working directory. The Git URL will be retrieved from Source Control configured under Project configuration.

...

Below is the Git code structure and corresponding exported codebase during execution as a result of the above step.

Git Codebase

...

EXPORTED CODEBASE

...

Step 2: Build Image

Below is the Docker plugin (buildImage operation) configuration. This step will build and push a docker image to AWS private container registry.

...

By default, Docker image and image tag details will be retrieved from Project Properties. However, you can always provide these details as a plugin operation input in the buildImage step. Any plugin operation input will take precedence over Project Properties.

We have also marked the Push Image to Repository checkbox to ensure the created image is pushed to the AWS private container registry. The pushImage operation within the Docker plugin can also be used to push the image to the target Docker registry.

...

  1. Select the target Registry Account.

  2. Docker Image Name and Docker Image Tag are essential to build the docker image.

...

Clicking the Dev environment row allows modifying the target’s Endpoint and properties.

...

Properties

Mandatory Field

Description

Docker Server

Optional

Docker server address. Required if Docker Unix Socket is not set.

Docker Server Port

Optional

The port to connect to on the Docker server.

Docker Unix Socket

Optional

The socket the Docker daemon listens on

The default value is [/var/run/docker.sock]

Registry Account

Optional

Docker Registry account with relevant details

GIT Path

Optional

Path to the Git executable. Required only if git is not on PATH.

...

Now that you have configured FlexDeploy to push an image to AWS private container registry, it is extremely easy to replicate for other container registries as well. Simply use the Copy Project feature and a new project will be created with all of the configuration completed already. You just need to make the necessary configuration changes.

...