Fix docker build command to reference the correct path for docker-bake.hcl

This commit is contained in:
2026-05-16 23:21:51 +02:00
parent 27c860a793
commit 56dc172379
+1 -1
View File
@@ -7,7 +7,7 @@ REPO_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
if command -v container 2>/dev/null; then
container build -t "registry.koszewscy.waw.pl/openldap:latest" "$REPO_DIR"
elif command -v docker 2>/dev/null; then
docker buildx bake --file "$REPO_DIR"/scripts/docker-bake.hcl
docker buildx bake --file "$REPO_DIR"/docker-bake.hcl
else
echo "No supported container tool found."
exit 1