c56bef871b
Sync docs with Docusaurus / sync (push) Waiting to run
Tests / Check if changed (push) Waiting to run
Tests / format (push) Blocked by required conditions
Tests / check-imports (push) Blocked by required conditions
Tests / Unit / macos-latest (push) Blocked by required conditions
Tests / Unit / ubuntu-latest (push) Blocked by required conditions
Tests / Unit / windows-latest (push) Blocked by required conditions
Tests / mypy (push) Blocked by required conditions
Tests / Integration / ubuntu-latest (push) Blocked by required conditions
Tests / Integration / macos-latest (push) Blocked by required conditions
Tests / Integration / windows-latest (push) Blocked by required conditions
Tests / notify-slack-on-failure (push) Blocked by required conditions
Tests / Mark tests as completed (push) Blocked by required conditions
Update Platform Components Table / update (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
Docker image release / Build base image (push) Waiting to run
41 lines
921 B
HCL
41 lines
921 B
HCL
variable "HAYSTACK_VERSION" {
|
|
default = "main"
|
|
}
|
|
|
|
variable "GITHUB_REF" {
|
|
default = ""
|
|
}
|
|
|
|
variable "IMAGE_NAME" {
|
|
default = "deepset/haystack"
|
|
}
|
|
|
|
variable "IMAGE_TAG_SUFFIX" {
|
|
default = "local"
|
|
}
|
|
|
|
variable "BASE_IMAGE_TAG_SUFFIX" {
|
|
default = "local"
|
|
}
|
|
|
|
variable "IS_STABLE" {
|
|
default = "false"
|
|
}
|
|
|
|
# 2.Y.Z releases are also tagged as "stable"
|
|
# Example: 2.99.0 is tagged as base-2.99.0 and stable
|
|
|
|
target "base" {
|
|
dockerfile = "Dockerfile.base"
|
|
tags = "${compact([
|
|
"${IMAGE_NAME}:base-${IMAGE_TAG_SUFFIX}",
|
|
equal("${IS_STABLE}", "true") ? "${IMAGE_NAME}:stable" : ""
|
|
])}"
|
|
args = {
|
|
build_image = "python:3.12-slim@sha256:090ba77e2958f6af52a5341f788b50b032dd4ca28377d2893dcf1ecbdfdfe203"
|
|
base_image = "python:3.12-slim@sha256:090ba77e2958f6af52a5341f788b50b032dd4ca28377d2893dcf1ecbdfdfe203"
|
|
haystack_version = "${HAYSTACK_VERSION}"
|
|
}
|
|
platforms = ["linux/amd64", "linux/arm64"]
|
|
}
|