Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔧 Pin All Docker Images in GitHub Actions Workflows #344

Open
Nicoretti opened this issue Jan 22, 2025 · 0 comments
Open

🔧 Pin All Docker Images in GitHub Actions Workflows #344

Nicoretti opened this issue Jan 22, 2025 · 0 comments
Labels
refactoring Code improvement without behavior change

Comments

@Nicoretti
Copy link
Contributor

Nicoretti commented Jan 22, 2025

Summary

Pin all used Docker images in GitHub Actions workflows to specific image versions for the provided templates as well as the workflows for the repository itself.

Background & Context

Locking Docker images to specific versions ensures that the execution environment remains consistent and reproducible. This is especially important in the context of automatic updates or changes applied to the :latest image tags by GitHub or Docker Hub. By pinning the images, we can avoid unexpected breaking changes and maintain a stable CI/CD pipeline.

Example

Before:

...
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
        ...

After:

...
jobs:
  build:
    runs-on: ubuntu-24.04
    steps:
        ...

References

@Nicoretti Nicoretti added the refactoring Code improvement without behavior change label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Code improvement without behavior change
Projects
None yet
Development

No branches or pull requests

1 participant