Cloud Native Live: Automate pinning GitHub Actions and container images to their digests

GitHub Actions, like open source dependencies, are vulnerable to malicious attacks. Pinning GitHub Actions to their digests (instead of using floating tags) is recommended by GitHub: it’s the only way to use an Action as an immutable release, so that y…


This content originally appeared on DEV Community and was authored by Stacey Potter

GitHub Actions, like open source dependencies, are vulnerable to malicious attacks. Pinning GitHub Actions to their digests (instead of using floating tags) is recommended by GitHub: it’s the only way to use an Action as an immutable release, so that you’re always using a known-good version even if the source repo is compromised. Likewise, for containers, the digest is a unique identifier for the content of an image. Once an image is built, its digest will always refer to that specific build, ensuring immutability and consistency.

Only 2% of public GitHub repos pin actions to digests today, probably because it’s a tedious process. But there are now ways to automate this!

Join Stacklok Engineers Juan Antonio "Ozz" Osario & Jakub Hrozek for this CNCF Livestream as they explore some free and open source tools you can use to automate pinning container images and Actions by their digests and demo how they work.

July 17, 2024
9am PT / 12pm ET / 16:00 UTC


This content originally appeared on DEV Community and was authored by Stacey Potter


Print Share Comment Cite Upload Translate Updates
APA

Stacey Potter | Sciencx (2024-07-09T16:30:07+00:00) Cloud Native Live: Automate pinning GitHub Actions and container images to their digests. Retrieved from https://www.scien.cx/2024/07/09/cloud-native-live-automate-pinning-github-actions-and-container-images-to-their-digests/

MLA
" » Cloud Native Live: Automate pinning GitHub Actions and container images to their digests." Stacey Potter | Sciencx - Tuesday July 9, 2024, https://www.scien.cx/2024/07/09/cloud-native-live-automate-pinning-github-actions-and-container-images-to-their-digests/
HARVARD
Stacey Potter | Sciencx Tuesday July 9, 2024 » Cloud Native Live: Automate pinning GitHub Actions and container images to their digests., viewed ,<https://www.scien.cx/2024/07/09/cloud-native-live-automate-pinning-github-actions-and-container-images-to-their-digests/>
VANCOUVER
Stacey Potter | Sciencx - » Cloud Native Live: Automate pinning GitHub Actions and container images to their digests. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/07/09/cloud-native-live-automate-pinning-github-actions-and-container-images-to-their-digests/
CHICAGO
" » Cloud Native Live: Automate pinning GitHub Actions and container images to their digests." Stacey Potter | Sciencx - Accessed . https://www.scien.cx/2024/07/09/cloud-native-live-automate-pinning-github-actions-and-container-images-to-their-digests/
IEEE
" » Cloud Native Live: Automate pinning GitHub Actions and container images to their digests." Stacey Potter | Sciencx [Online]. Available: https://www.scien.cx/2024/07/09/cloud-native-live-automate-pinning-github-actions-and-container-images-to-their-digests/. [Accessed: ]
rf:citation
» Cloud Native Live: Automate pinning GitHub Actions and container images to their digests | Stacey Potter | Sciencx | https://www.scien.cx/2024/07/09/cloud-native-live-automate-pinning-github-actions-and-container-images-to-their-digests/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.