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
Timo
08/31/2022, 12:34 PMAnna Geller
DockerRegistry
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
Timo
08/31/2022, 12:55 PMAnna Geller
Timo
08/31/2022, 12:56 PMAnna Geller
chicago-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
chicago-joe
09/27/2022, 4:32 PMJacqueline Garrahan
10/10/2022, 7:21 PMAnna Geller
docker login -u username -p pwd
before starting the agentchicago-joe
10/25/2022, 9:45 PMAnna Geller