Skip to main content

Checks if Docker images are properly pinned in docker-compose.yml and Dockerfile files

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

docker-image-pin

Based on https://nickcunningh.am/blog/how-to-automate-version-updates-for-your-self-hosted-docker-containers-with-gitea-renovate-and-komodo

# bad - don't do this
image: gitea/gitea
image: gitea/gitea:latest

# ok - better than nothing, but not specific enough for renovate to do it's job
image: gitea/gitea:1
image: gitea/gitea:1.23

# good - the @sha256 pins latest to a specific build digest, but obfuscates the real version of the image
image: gitea/gitea:latest@sha256:01bb6f98fb9e256554d59c85b9f1cb39f3da68202910ea0909d61c6b449c207d

# better - pins the image to a clear and specific image version
image: gitea/gitea:1.23.6

# best - pins the image to a specific version AND digest, makes the specific version immutable
image: gitea/gitea:1.23.6@sha256:01bb6f98fb9e256554d59c85b9f1cb39f3da68202910ea0909d61c6b449c207d

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

docker_image_pin-0.4.2.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

docker_image_pin-0.4.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file docker_image_pin-0.4.2.tar.gz.

File metadata

  • Download URL: docker_image_pin-0.4.2.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.2

File hashes

Hashes for docker_image_pin-0.4.2.tar.gz
Algorithm Hash digest
SHA256 bc0c1304ea7f3fec8a0dfbf0d414b15eaabe30b8fcd833b8e3a8fe7fd00aa184
MD5 99007869b7d3e09bcded7cebdec5bdd1
BLAKE2b-256 0dbeb83f8b54bf8d1288122f459b84b56d5f791f10d86482b021db770d236f97

See more details on using hashes here.

File details

Details for the file docker_image_pin-0.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for docker_image_pin-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 620ba0f5c748d05f147f51a1b0dfc2c3f95a4ecca1858942da9f780c57853422
MD5 1d8a2c2e84383a839ddbfcec2f73b2c6
BLAKE2b-256 8c7bc0c3581d43acee68785be21c60d1a1a2678db62c62de73db855b8966becb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page