Skip to content

Update/Add [tool name] #14522

Description

@stamepicmorg

ps - i know about 3rd party action.

Tool name

crane

Tool license

Apache License Version 2.0

Add or update?

  • Add
  • Update

Desired version

v0.21.9

Approximate size

15 MB

Brief description of tool

https://github.com/google/go-containerregistry/blob/main/cmd/crane/README.md

Crane is a tool for managing container images

URL for tool's homepage

https://github.com/google/go-containerregistry/blob/main/cmd/crane/README.md

Provide a basic test case to validate the tool's functionality.

Diff two manifests

diff <(crane manifest busybox:1.32 | jq) <(crane manifest busybox:1.33 | jq)

Get total image size
crane manifest gcr.io/buildpacks/builder:v1 | jq '.config.size + ([.layers[].size] | add)'

Platforms where you need the tool

  • Azure DevOps
  • GitHub Actions

Runner images where you need the tool

  • Ubuntu 22.04
  • Ubuntu 22.04 Arm64
  • Ubuntu 24.04
  • Ubuntu 24.04 Arm64
  • Ubuntu 26.04
  • Ubuntu 26.04 Arm64
  • Ubuntu Slim
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • macOS 26
  • macOS 26 Arm64
  • Windows Server 2022
  • Windows Server 2025
  • Windows Server 2025 with Visual Studio 2026
  • Windows Desktop 11
  • Windows Desktop 11 with Visual Studio 2026

Can this tool be installed during the build?

go install github.com/google/go-containerregistry/cmd/crane@latest

Tool installation time in runtime

No response

Are you willing to submit a PR?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions