Azure / Azure/cli

Pin Docker image to a specific SHA

Abierto
#201 0 comentarios 0 reacciones 1 asignado Reclamado por @wangzelin007 Ver en GitHub
need-to-triage
Lenguaje dominante
TypeScript
Estrellas
168
Forks
80
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Docker allows specifying a digest when pulling images using the `:@sha256:` syntax. This allows guarantees reproducibility and helps prevent supply chain attacks.

When using this action, it is currently possible to pin the Docker image to a specific version using the `azcliversion` input, but because of [the extra validation](https://github.com/Azure/cli/blob/9eb25b8360668fb0ecbafa808d40e2197b2f5f52/src/main.ts#L96) it is not possible to suffix version numbers with a SHA256 digest.

The action should detect if such a prefix is present and strip it before checking the validity of the version number (but still use it when pulling the image).

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.