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.1.tar.gz (3.5 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.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for docker_image_pin-0.4.1.tar.gz
Algorithm Hash digest
SHA256 eae8b1d392623731cc57db273d2c384278f8e826ce1af793f14a40c2754be4db
MD5 5d1aa3aca1cdd9c7bb35c13709ee7761
BLAKE2b-256 bee10797a931ef1c41d33e9870e71cc200590d349363fd18f4d0c52e24cf625e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for docker_image_pin-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3e8b077ac839c5a2a579635e58a980814458ec7b157ada9feb3d1b66394d3022
MD5 5773428dca39ae3db09e6f109c9af254
BLAKE2b-256 671c0baf8447e4b977d49aba0f43b5ef5e22a99f9bee5a3eebdc57c62634abd2

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