Skip to content

Image inspect command failed error - linux/amd64 #29

@lambchr

Description

@lambchr

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions