Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

ignore tags when digest present #335

@jmorgancusick

Description

@jmorgancusick

Expected behavior

If I run

container-diff analyze postgres:11-alpine@sha256:f85c0e55cc917bb76083a92a4cc5f1af080298eb5a1f5449a8dc8665f7fef48e

I expect analyze info to be printed

Actual behavior

container-diff errors out with the following log:

ERRO[0000] error retrieving image postgres:11-alpine@sha256:f85c0e55cc917bb76083a92a4cc5f1af080298eb5a1f5449a8dc8665f7fef48e: parsing image reference: could not parse reference

Information

  • container-diff version: v0.15.0

  • Operating system:

Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.4 LTS
Release:	18.04
Codename:	bionic

Steps to reproduce the behavior

  1. Run container-diff analyze postgres@sha256:f85c0e55cc917bb76083a92a4cc5f1af080298eb5a1f5449a8dc8665f7fef48e and notice that it runs fine
  2. Run with the optional digest container-diff analyze postgres:11-alpine@sha256:f85c0e55cc917bb76083a92a4cc5f1af080298eb5a1f5449a8dc8665f7fef48e and notice the error message

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions