Timo
08/31/2022, 11:31 AMprefect deployment build myflow.py:myflow \
--path /prefect/flows/myflow \
-ib docker-container/dev-image \
--name local_docker \
--skip-upload \
--apply
After running the deployment it breaks with "no basic auth credentials".
Inspecting the "Docker Container" block shows that it should use the defined registry block. Double checked the credentials multiple times and successfully logged in with docker login...
I tried the same on 2.2.0 with the same error after executing the deployment :-(Anna Geller
08/31/2022, 12:34 PMTimo
08/31/2022, 12:34 PMAnna Geller
08/31/2022, 12:38 PMDockerRegistry
block:
prefect deployment build flows/healthcheck.py:healthcheck \
-n dockerhub -q prod --infra docker-container \
--override image=annaprefect/dataflowops:latest \
--apply
you're correct that for private registries setting auth there and setting URL to repo/image:tag should work
if not, this deserves a GitHub issue with MRE (Minimal Reproducible Example)Timo
08/31/2022, 12:39 PMAnna Geller
08/31/2022, 12:39 PMTimo
08/31/2022, 12:55 PMAnna Geller
08/31/2022, 12:56 PMTimo
08/31/2022, 12:56 PMAnna Geller
08/31/2022, 1:11 PMchicago-joe
09/27/2022, 7:16 AMcontainerDefinitions = [
dict(
name = "flow",
image = "<http://ghcr.io/chicago-joe/intelli-options:latest|ghcr.io/chicago-joe/intelli-options:latest>",
repositoryCredentials = dict(
credentialsParameter = "arn:aws:secretsmanager:us-east-2:xxxxxx:secret:GHCR_PRIVATE_REGISTRY_AUTH-xxxxx")
)
],
Anna Geller
09/27/2022, 12:54 PMchicago-joe
09/27/2022, 4:32 PMJacqueline Garrahan
10/10/2022, 7:21 PMAnna Geller
10/11/2022, 10:42 AMdocker login -u username -p pwd
before starting the agentchicago-joe
10/25/2022, 9:45 PMAnna Geller
10/25/2022, 11:08 PM