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.  

Docker Build

Image RemovedImage Added

Name

A friendly name for this action (will be displayed in the actions workflow area).

...

The version of Docker to use when running the Docker Build command. It is important that the agent has the correct version of Docker installed for the Dockerfile provided.  


Host

Image RemovedImage Added

Docker Host URL

...

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

Verify TLS

Available to tick only if 'Use TLS' is ticked.

...

The Docker Host Certificate Key is the PEM format key file for the accessing the Docker Host Certificate. 


Options

Image RemovedImage Added

Platform

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

...

Tick to continue build on failure marking the action with a warning status.


Variables

Image RemovedImage Added

Build Time Variables

...

Optional - Extra command line arguments to pass to Docker Build.


Environment

Image RemovedImage Added

Multiple environment variables can be defined - one per line.

...