Build
The build configuration controls how the application is built using docker build. Build configuration is defined under build.
build:
  dockerfile: Dockerfile.preview
  context: .
Arguments
Additional build arguments, passed to docker build with --build-arg <key>=<value>.
  args:
    ENVIRONMENT: preview
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.preview
Context
The Docker build context is the directory containing the files and directories available to the Docker build process.
  context: .