pinker

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

README

piñker

Build Status GitHub Release GitHub License

Make your Docker infrastructure more secure and reproducible by pinning images to their SHA256 digests.

[!Note]

Just like pinata for GitHub Actions, but for Dockerfiles and Compose files.

Features

  • Zero-Config Authentication No need to hardcode secrets or mount volumes. pinker seamlessly reuses your local credentials. If you have run docker login registry.example.com in your terminal, pinker automatically has access.
  • Multi-Cloud Support Built on top of standard OCI libraries, offering native support for AWS ECR, Google Artifact Registry, Azure ACR, Harbor, and any other private registry out of the box.
  • Results-Oriented It does one thing and does it well: converting mutable, uncertain tags (e.g., latest) into immutable, deterministic SHA256 digests.
  • Broad Compatibility Works with both Dockerfile and docker-compose.yml (including variants like .yaml, compose.yml, etc.).

Install

# Go:
go install github.com/honeok/pinker@latest

Usage

# Pin everything in the current directory (recursive)
$ pinker

# Pin a specific directory
$ pinker ./deploy

Acknowledgements

This project is heavily inspired by pinata by caarlos0. The code structure, design philosophy, and CLI experience are directly adapted from his work to bring the same security and reproducibility standards to the Docker ecosystem.

Thank you, Carlos, for the inspiration! ❤️

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL