Versions Compared

Key

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

The Docker Build Action is a premium action which allows you to construct a docker image from a Docker File and a Docker Context.

The Docker File describes how the docker image should be constructed, while the Docker Context gives access to any required files to make the created image work. Subsequently running the docker image will create a container, which is an instance of the image.  

...

The directory on the agent to run the docker Docker command in. If any relative directory is used in the Dockerfile Path, this will be the directory that it is based on. It's typically not a good idea to rely on this directory for the Dockerfile path. All relevant files should be held within the Docker Context. 

...

The Docker Context is a directory that contains extra files required to build the Docker Image, including the Dockerfile. If a file is missing from the Docker Context that the build requires, an error will be generated and the build will fail. 

...

The address of the Docker Hosthost. This can be in the form of a URL or any IP4 Address. If a non-standard port is required simply use the <IPAddress>:<Port> specitifcation speciification format. 

Use TLS

Tick to connect to the Docker host using TLS where the host is not verified against a CA.

Verify TLS

Available to tick This is available only if 'Use TLS' is ticked. Verify Tick to verify the TLS certificate with a root authority where the Host is verified against its CAauthority.

When using Verify TLS, if the Hosthost's certification authority (CA) is not trusted by the agent, then the connection is not established. 

...

Path to Docker host certificate file

Docker Host

...

Key

The Docker Host Certificate Key host certificate key is the PEM format key file for the accessing the Docker Host Certificatehost certificate


Options

Platform

Set platform if server is multi-platform capable. [--platform].

...