You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository provides official Docker-maintained [reusable GitHub Actions workflows](https://docs.github.com/en/actions/how-tos/reuse-automations/reuse-workflows)
7
26
to securely build container images using Docker best practices. The workflows
@@ -10,13 +29,86 @@ the principles behind [Docker Hardened Images](https://docs.docker.com/dhi/),
10
29
enabling open source projects to follow a seamless path toward higher levels of
11
30
security and trust.
12
31
13
-
## :test_tube: Experimental
14
-
15
-
This repository is considered **EXPERIMENTAL** and under active development
16
-
until further notice. It is subject to non-backward compatible changes or
17
-
removal in any future version.
18
-
19
-
## Build reusable workflow
32
+
## Key Advantages
33
+
34
+
### Performance
35
+
36
+
***Native parallelization for multi-platform builds.**
37
+
Workflows automatically distribute builds across runners based on target
38
+
platform to be built, improving throughput for other architectures without
39
+
requiring emulation or [custom CI logic](https://docs.docker.com/build/ci/github-actions/multi-platform/#distribute-build-across-multiple-runners)
40
+
or self-managed runners.
41
+
42
+
***Optimized cache warming & reuse.**
43
+
The builder uses the [GitHub Actions cache backend](https://docs.docker.com/build/cache/backends/gha/)
44
+
to persist layers across branches, PRs, and rebuilds. This significantly
45
+
reduces cold-start times and avoids repeating expensive dependency
46
+
installations, even for external contributors' pull requests.
47
+
48
+
***Centralized build configuration.**
49
+
Repositories no longer need to configure buildx drivers, tune storage, or
50
+
adjust resource limits. The reusable workflows encapsulate the recommended
51
+
configuration, providing fast, consistent builds across any project that
52
+
opts in.
53
+
54
+
### Security
55
+
56
+
***Trusted workflows in the Docker organization.**
57
+
Builds are executed by reusable workflows defined in the [**@docker**](https://github.com/docker)
58
+
organization, not by arbitrary user-defined workflow steps. Consumers can
59
+
rely on GitHub's trust model and repository protections on the Docker side
60
+
(branch protection, code review, signing, etc.) to reason about who controls
61
+
the build logic.
62
+
63
+
***Verifiable, immutable sources.**
64
+
The workflows use the GitHub OIDC token and the exact commit SHA to obtain
65
+
source and to bind it into SLSA provenance. This ensures that the build is
66
+
tied to the repository contents as checked in—no additional CI step can
0 commit comments