aws / aws/aws-toolkit-azure-devops
src/tasks/ECRPushImage failed pipeline step
- Dominant language
- TypeScript
- Stars
- 258
- Forks
- 114
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
While deploying a windows-2022 Image with Azure Pipelines 2 Agent the ECR Push Image task pipeline step fails.
**Expected behavior**
Mentioned pipeline step works with Windows pushes to ECR.
**Logs**
Invoking 'C:\Windows\system32\docker.exe' with command 'login'
##[debug]which 'C:\Windows\system32\docker.exe'
##[debug]found: 'C:\Windows\system32\docker.exe'
##[debug]C:\Windows\system32\docker.exe arg: login
##[debug]C:\Windows\system32\docker.exe arg: -u
##[debug]C:\Windows\system32\docker.exe arg: AWS
##[debug]C:\Windows\system32\docker.exe arg: -p
##[debug]C:\Windows\system32\docker.exe arg: xxx
##[debug]C:\Windows\system32\docker.exe arg: https://472662001309.dkr.ecr.eu-central-1.amazonaws.com/
##[debug]exec tool: C:\Windows\system32\docker.exe
##[debug]arguments:
##[debug] login
##[debug] -u
##[debug] AWS
##[debug] -p
##[debug] xxx
##[debug] https://472662001309.dkr.ecr.eu-central-1.amazonaws.com/
##[debug]Process exited with code 1 and signal null for tool 'C:\Windows\system32\docker.exe'
##[debug]STDIO streams have closed and received exit code 1 and signal null for tool 'C:\Windows\system32\docker.exe'
##[debug]task result: Failed
##[error]Error: The process 'C:\Windows\system32\docker.exe' failed with exit code 1
##[debug]Processed: ##vso[task.issue type=error;source=TaskInternal;]Error: The process 'C:\Windows\system32\docker.exe' failed with exit code 1
##[debug]Processed: ##vso[task.complete result=Failed;]Error: The process 'C:\Windows\system32\docker.exe' failed with exit code 1
**Your Environment**
- Cloud based
- AWS Toolkit for Azure DevOps version: 1.18.0
**Additional context**
Contributor guide
Research direction
Start at src/tasks/ECRPushImage and reproduce the failure with a Windows-2022 Azure Pipelines agent using AWS Toolkit for Azure DevOps 1.18.0. Inspect the docker login step and its exit code; done means the task can push a Windows image to ECR successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, docker, typescript
- Domain
- cloud, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100