-
Notifications
You must be signed in to change notification settings - Fork 0
Image inspect command failed error - linux/amd64 #29
Copy link
Copy link
Open
Description
Hi,
I ran into this error whilst using the docker-bump-action tool but it looks like an error with dredge (or potentially something in my image is not supported) but let me know if I should move this issue to the docker-bump-action repo
Exception: Command failed with exit code 1: dredge image inspect
<PRIVATE-ECR-REGISTRY>/<REPO>:latest --os linux
--arch amd64
Invoke: dredge image inspect <PRIVATE-ECR-REGISTRY>/<REPO>:latest --os linux --arch amd64
Result:
Exception: /home/runner/work/_temp/27caaad6-da85-4a8f-b320-c207c5f27823.ps1:39
Line |
39 | throw "command failed"
| ~~~~~~~~~~~~~~~~~~~~~~
| command failed
Error: Process completed with exit code 1.
I can't share the private image with you but it is pretty simple so I can share the Dockerfile:
FROM ghcr.io/actions/actions-runner:latest
USER root
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y git curl unzip
USER runner
and how we push to the ECR, so you can recreate it:
docker buildx build --platform linux/amd64,linux/arm64 --push -t <PRIVATE-ECR-REGISTRY>/<REPO>:latest .
Any help would be appreciated :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels