I'm trying to build an application to run the ROS driver directly on an OAK4 camera. My oakapp.toml
contains
[base_image]
api_url = "https://registry-1.docker.io"
service = "registry.docker.io"
oauth_url = "https://auth.docker.io/token"
auth_type = "repository"
auth_name = "luxonis/depthai-ros"
image_name = "luxonis/depthai-ros"
image_tag = "humble-latest"
I want to develop on my PC for ease. When I run oakctl app build .
on my PC I get
Building oakapp from path: .
✔ Data sent to device ✔ Build has started, reading build logs ... Retrieving base image luxonis/depthai-ros:humble-latest ...
✖ Failed to build oakapp package. oakctl command failed:
0: Received an error RPC response: Failed to build application container: Image download failed: OCI registry client received an error: APIError(ErrorList { errors: [Error { code: "UNAUTHORIZED", message: "authentication required", detail: Array [Object {"Action": String("pull"), "Class": String(""), "Name": String("luxonis/depthai-ros"), "Type": String("repository")}] }] })
Something starts to be downloaded after Retrieving base image luxonis/depthai-ros:humble-latest ...
appears (I see it from another tool as there's no feedback about the download from the CLI) but then fails as can be seen from the output of the oakctl
command.
What am I doing wrong?