Fix docker build command to reference the correct path for docker-bake.hcl
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user