Skip to content

[bug] kn faas deploy tried to push the images to dockerhub even though registry was mentioned as quay.io  #23

Description

@nainaz

Describe the bug
After creating the the image for the Quarkus Function accepting events. kn faas deploy fails with the error message :

. exit status 1

To Reproduce
Steps to reproduce the behavior:

  1. kn faas init -l quarkus
  2. kn faas build -v -c
  3. kn faas deploy -v -c
  4. provide registry as quay.io/username

Expected behavior
image should get pushed to quay.io

Screenshots

kn faas deploy -v -c
Registry for Function images: quay.io/nainaz
Namespace: nsingh
Project path (/Users/naisingh/Documents/WorkSpaces/myfunctions/testdayquarkfunction): 
Building Function image:
Function image has been built, image: testdayquarkfunction
Pushing Function image to the registry:
/usr/local/bin/docker push testdayquarkfunction
The push refers to repository [docker.io/library/testdayquarkfunction]
83d85471d9f8: Preparing
82f9fb5c1cd2: Preparing
7cffc3c153c7: Preparing
7fc93d7f95e3: Preparing
adc9757997eb: Preparing
7c950d2655da: Preparing
6a2336482104: Preparing
46a41efcbd18: Preparing
97bd060e42f4: Preparing
3485805ce47c: Preparing
b0e2911c99f3: Preparing
7c950d2655da: Waiting
6a2336482104: Waiting
46a41efcbd18: Waiting
b0e2911c99f3: Waiting
3485805ce47c: Waiting
97bd060e42f4: Waiting
Error: denied: requested access to the resource is denied
. exit status 1

Desktop (please complete the following information):

  • OS: macOs
  • Browser if applicable [e.g. chrome, safari]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions