Skip to content

Image reference and tag always with latest #88

@mathieu-benoit

Description

@mathieu-benoit

I'm using this action like this in PRs:

- uses: docker/scout-action
  with:
    command: compare
    image: local://score-compose:pr-382
    to: local://score-compose:main
    write-comment: true
    organization: my-org-redacted

But I always get this latest tag in there for both Image reference and - tag:

Image

Am I missing something? Is it because local:// is used?

Knowing that both images are built locally as part of this CI pipeline, right before running this action above, docker images is successfully showing this:

IMAGE                           ID             DISK USAGE   CONTENT SIZE   EXTRA
moby/buildkit:buildx-stable-1   de10faf919fc        333MB          104MB   U    
score-compose:main              cfe135566a0a         26MB         7.07MB        
score-compose:pr-382            62c1fc0545ca         26MB         7.06MB

Metadata

Metadata

Assignees

No one assigned

    Labels

    upstreamNeeds scout-cli-plugin/backend changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions