forge.yaml

The forge.yaml file contains the global Forge configuration information. Currently this consists of Docker Registry configuration and credentials. A forge.yaml is automatically created as part of the forge setup process; it can also be created by hand.

FieldTypeDocs
search-pathsequence[string] Search path for service dependencies.
registry(registry:docker|registry:gcr|registry:ecr|registry:local)
docker-repostring Deprecated, use registry instead.
userstring Deprecated, use registry instead.
passwordbase64 Deprecated, use registry instead.
workdirstring deprecated
profilesmap[profile] A map keyed by profile-name of profile-specific settings.
concurrencyinteger This controls the maximum number of parallel builds.

registry:docker

A generic Docker registry.

FieldTypeDocs
type'docker' This must be 'docker' for docker registries
urlstring The url of the docker registry.
verifyboolean A boolean that indicates whether or not to verify the SSL connection to the registry. This defaults to true. Set this to false if you are using a registry with self-signed certs.
userstring The docker user.
passwordbase64 The docker password, base64 encoded.
namespacestring The namespace for the docker registry. For docker hub this is a user or an organization. This is used as the first path component of the registry URL, for example: registry.hub.docker.com/

registry:gcr

A Google Cloud registry.

FieldTypeDocs
type'gcr' The type of the registry; this will be 'gcr' for Google registries
urlstring The url of the registry, e.g. `gcr.io`.
projectstring The Google project name.
keybase64 The base64 encoded JSON key used for authentication.

registry:ecr

An Amazon ECR registry.

FieldTypeDocs
type'ecr' The type of the registry; this will be 'ecr' for amazon registries
accountstring The amazon account id to use.
regionstring The Amazon region to use.
aws_access_key_idstring The id of the AWS access key to use.
aws_secret_access_keystring The AWS secret access key.

registry:local

A local registry.

FieldTypeDocs
type'local' The type of the registry; this will be 'local' for local registries

profile

Profile-specific settings.

FieldTypeDocs
search-pathsequence[string] Search path for service dependencies.
registry(registry:docker|registry:gcr|registry:ecr|registry:local)

results matching ""

    No results matching ""