Skip to content

bake does not support compose profiles #718

@dudicoco

Description

@dudicoco

When using a compose file with profiles, bake throws an error.

Example file:

version: '3.9'

services:
  app:
    image: test:latest
    build: .
    profiles:
      - test

Output:

$ docker buildx bake
[+] Building 0.0s (0/0)
error: services.app Additional property profiles is not allowed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions