Table of Contents | ||||
---|---|---|---|---|
|
...
You have a working docker project and the source code is managed in a Git repository. The goal of the tutorial is to push a docker image to the GCP Artifact Registry.
This process will include:
cloning the application from a Git repository
building the docker image
push the docker image to the GCP Artifact Registry.
We will walk through each of the FlexDeploy features that will be created/configured to accomplish this goal and have the docker image published to the GCP Artifact Registry in a very short amount of time.
Checklist
Checklist | Description |
---|---|
Docker Registry Address | GCP Artifact Registry address |
Docker Registry User | Use "oauth2accesstoken" to push images against the GCP Artifact Registry |
Docker Registry Token/Password | Key file content, generated using Service Account of GCP |
Docker Registry User permission | Service Account must have the required permission, to push images to the GCP Artifact Registry |
Configure Cloud specific credential
...
Clicking the environment row for DEV allows modifying the 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. |
Below given are the env-specific values which need to be updated.
...