PreviewHQ
  • Introduction
  • Basics
    • What is Continuous Product Review?
    • What is a Preview Environment?
    • Use Cases
      • Product and Stakeholder Review
      • QA Environments
      • Automated End-to-End Testing
      • Sales Demo Environments
      • Support Training
  • Getting Started
    • Installation
    • Add Configuration
    • Add a Cluster
    • Create a Deployment
      • with a Pull Request
      • with the Dashboard
      • with the CLI
      • with the API
  • Technical Stuff
    • Defining Deployments
      • Helm Charts
      • Kubernetes Manifests
      • [UNRELEASED] Terraform
    • Configuration File
      • Branches
      • Services
      • Chart Repositories
      • Chart Values
      • Docker Registries
      • Images
      • Webhooks
    • Template Strings
    • Using Seed Data
      • Using Shared Data Sources
    • Access Control
      • Preview Application Access
      • Preview Environment Access
    • Using Third-Party Integrations
    • Debugging
    • Current Limitations
  • Sample Applications
    • Emojivoto
    • Guestbook - Helm
    • Guestbook - Manifests
  • misc
    • FAQ
    • Changelog
    • Telemetry Data
    • Links
      • Homepace
      • Dashboard
Powered by GitBook
On this page

Was this helpful?

  1. Technical Stuff
  2. Configuration File

Images

The images tag allows rudimentary specification of how to build the Docker images needed for your deployments.

Example:

images:
  - name: frontend
    dockerfile: ./src/react/Dockerfile
    context: ./src/react
    buildargs:
      svc_name: frontend
  - name: backend
    dockerfile: ./src/flask/Dockerfile
    context: ./src/flask
    buildargs:
      svc_name: backend

By default the "main" image will be built, assuming a "Dockerfile", using the root

Key

Description

images[].name

The name of the image. Used as part of the image tag

images[].dockerfile

The location of the Dockerfile to build, relative to the repository root.

images[].context

The docker build context, relative to the repository root

images[].buildargs

A set of arguments which are passed to the docker build

PreviousDocker RegistriesNextWebhooks

Last updated 4 years ago

Was this helpful?