Files

46 lines
1.4 KiB
TOML

# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
# Docker image build tasks
["docker:build"]
description = "Build all Docker images"
depends = [
"docker:build:gateway",
"docker:build:cluster",
]
hide = true
["docker:build:ci"]
description = "Build the CI Docker image"
run = "tasks/scripts/docker-build-component.sh ci"
hide = true
["docker:build:gateway"]
description = "Build the gateway Docker image"
run = "tasks/scripts/docker-build-component.sh gateway"
hide = true
["docker:build:cluster"]
description = "Build the k3s cluster image (component images pulled at runtime from registry)"
run = "tasks/scripts/docker-build-cluster.sh"
hide = true
["docker:build:cluster:multiarch"]
description = "Build multi-arch cluster image and push to a registry"
run = "tasks/scripts/docker-publish-multiarch.sh --mode registry"
hide = true
["docker:publish:cluster:multiarch"]
description = "Build and publish multi-arch cluster image to ECR"
run = "tasks/scripts/docker-publish-multiarch.sh --mode ecr"
hide = true
["docker:cleanup"]
description = "Remove stale images, volumes, and build cache not used by the current cluster"
run = "scripts/docker-cleanup.sh --force"
["docker:cleanup:dry-run"]
description = "Preview what docker:cleanup would remove without deleting anything"
run = "scripts/docker-cleanup.sh --dry-run"