# Baker CLI Build Settings
# See: https://github.com/iq-company/baker-cli

registry: ghcr.io/your-org

targets:
  {{ name_snake }}-dev:
    dockerfile: .devcontainer/Dockerfile
    context: .
    tags:
      - "{{ name_snake }}-dev:{{ '{{' }} checksum_self {{ '}}' }}"
      - "{{ name_snake }}-dev:latest"
    build-args:
      PYTHON_VERSION: "3.12"

  {{ name_snake }}-worker:
    dockerfile: docker/Dockerfile.worker
    context: .
    tags:
      - "{{ name_snake }}-worker:{{ '{{' }} checksum_self {{ '}}' }}"
      - "{{ name_snake }}-worker:{{ '{{' }} git.short_sha {{ '}}' }}"
    depends_on:
      - {{ name_snake }}-dev
    build-args:
      PYTHON_VERSION: "3.12"

bundles:
  all:
    targets:
      - {{ name_snake }}-dev
      - {{ name_snake }}-worker

  dev:
    targets:
      - {{ name_snake }}-dev
