GitPeeks

Build

The build configuration controls how the application is built using docker build. Build configuration is defined under build.

build:
  dockerfile: Dockerfile.production
  context: .

Arguments

Additional build arguments, passed to docker build with --build-arg <key>=<value>.

  args:
    ENVIRONMENT: production

Secrets

Secrets are read from the repository secrets configured in the GitPeeks dashboard.

  secrets:
    - SECRET

Dockerfile

The Dockerfile to use for building, defaults to Dockerfile:

  dockerfile: Dockerfile.production

Context

The Docker build context is the directory containing the files and directories available to the Docker build process.

  context: .