Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tagging image: UNAUTHORIZED #1460

Closed
NicklasWallgren opened this issue Jan 13, 2019 · 0 comments · Fixed by #1475
Closed

tagging image: UNAUTHORIZED #1460

NicklasWallgren opened this issue Jan 13, 2019 · 0 comments · Fixed by #1475
Assignees
Labels
area/build kind/bug Something isn't working

Comments

@NicklasWallgren
Copy link
Contributor

Expected behavior
Pulls image down and starts pods/etc.

Actual behavior

Built and pushed image as gcr.io/<project-id>/app:9ab10c77d7caf3f5db394542347be146
Executing tasks:
[==================================================] 100.0% complete


BUILD SUCCESSFUL in 8s
3 actionable tasks: 1 executed, 2 up-to-date
DEBU[0009] Running command: [git rev-parse --short HEAD] 
DEBU[0009] Command output: [43fa0e4
]                   
DEBU[0009] Running command: [git status . --porcelain]  
DEBU[0009] Command output: [?? app/.DS_Store
?? app/build/
?? app/out/
] 
FATA[0012] build failed: building [gcr.io/<project id>/app]: tagging: tagging image: UNAUTHORIZED: "authentication required" 

Information
I have run gcloud docker -a as well as can pull image locally with no issue.

Content of skaffold.yml

apiVersion: skaffold/v1beta2
kind: Config
build:
  artifacts:
    - image: gcr.io/<project-id>/app
      jibGradle: {}
      context: app

I configured docker credentials through docker-credential-gcr configure-docker before running skaffold.

dgageot added a commit to dgageot/skaffold that referenced this issue Jan 14, 2019
dgageot added a commit to dgageot/skaffold that referenced this issue Jan 15, 2019
@dgageot dgageot added kind/bug Something isn't working area/build labels Jan 15, 2019
@dgageot dgageot self-assigned this Jan 15, 2019
dgageot added a commit to dgageot/skaffold that referenced this issue Jan 16, 2019
dgageot added a commit to dgageot/skaffold that referenced this issue Jan 17, 2019
moustafab pushed a commit to VibrentHealth/skaffold that referenced this issue Jan 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants