| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b5c41ce1-1f02-4465-1f9f-0b2969a85b62 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DDEE:47EDE:3EBB84:551BF4:6A4F3050 |
| html-safe-nonce | 4ed148709602e25109b475e2309c5a23e7a8627c2e116f27f909ea4667770b4f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEREVFOjQ3RURFOjNFQkI4NDo1NTFCRjQ6NkE0RjMwNTAiLCJ2aXNpdG9yX2lkIjoiMzM2OTI5NTQ1NDg2MDY4NTM5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1842101763eb7550eb1fa9efe3a0dae96b39f8fd7ade3d605a385352cbf3aada |
| hovercard-subject-tag | pull_request:3489105980 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/stackrox/stackrox/pull/19829/files |
| twitter:image | https://avatars.githubusercontent.com/u/105243888?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/105243888?s=400&v=4 |
| og:image:alt | Description
Experiment — use stable version ldflags (BUILD_TAG=0.0.0, SHORTCOMMIT=0000000) for Go binary compilation so that Docker COPY --link layers are cached across builds.
The insight
Currentl... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/stackrox/stackrox git https://github.com/stackrox/stackrox.git |
| octolytics-dimension-user_id | 40638982 |
| octolytics-dimension-user_login | stackrox |
| octolytics-dimension-repository_id | 434017296 |
| octolytics-dimension-repository_nwo | stackrox/stackrox |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 434017296 |
| octolytics-dimension-repository_network_root_nwo | stackrox/stackrox |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b8f23afb982271f1b22258a94aede67a6b77760 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/stackrox/stackrox/pull/19829/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstackrox%2Fstackrox%2Fpull%2F19829%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstackrox%2Fstackrox%2Fpull%2F19829%2Ffiles |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=stackrox%2Fstackrox |
| Reload | https://github.com/stackrox/stackrox/pull/19829/files |
| Reload | https://github.com/stackrox/stackrox/pull/19829/files |
| Reload | https://github.com/stackrox/stackrox/pull/19829/files |
| Please reload this page | https://github.com/stackrox/stackrox/pull/19829/files |
|
stackrox
| https://github.com/stackrox |
| stackrox | https://github.com/stackrox/stackrox |
|
Notifications
| https://github.com/login?return_to=%2Fstackrox%2Fstackrox |
|
Fork
180
| https://github.com/login?return_to=%2Fstackrox%2Fstackrox |
|
Star
1.3k
| https://github.com/login?return_to=%2Fstackrox%2Fstackrox |
|
Code
| https://github.com/stackrox/stackrox |
|
Issues
53
| https://github.com/stackrox/stackrox/issues |
|
Pull requests
569
| https://github.com/stackrox/stackrox/pulls |
|
Actions
| https://github.com/stackrox/stackrox/actions |
|
Security and quality
0
| https://github.com/stackrox/stackrox/security |
|
Insights
| https://github.com/stackrox/stackrox/pulse |
|
Code
| https://github.com/stackrox/stackrox |
|
Issues
| https://github.com/stackrox/stackrox/issues |
|
Pull requests
| https://github.com/stackrox/stackrox/pulls |
|
Actions
| https://github.com/stackrox/stackrox/actions |
|
Security and quality
| https://github.com/stackrox/stackrox/security |
|
Insights
| https://github.com/stackrox/stackrox/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fstackrox%2Fstackrox%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fstackrox%2Fstackrox%2Fissues%2Fnew%2Fchoose |
| davdhacs | https://github.com/davdhacs |
| master | https://github.com/stackrox/stackrox/tree/master |
| davdhacs/stable-build-ldflags | https://github.com/stackrox/stackrox/tree/davdhacs/stable-build-ldflags |
|
Conversation
13
| https://github.com/stackrox/stackrox/pull/19829 |
|
Commits
26
| https://github.com/stackrox/stackrox/pull/19829/commits |
|
Checks
101
| https://github.com/stackrox/stackrox/pull/19829/checks |
|
Files changed
| https://github.com/stackrox/stackrox/pull/19829/files |
| Please reload this page | https://github.com/stackrox/stackrox/pull/19829/files |
|
experiment: stable build ldflags for Docker layer caching
| https://github.com/stackrox/stackrox/pull/19829/files#top |
|
Show all changes
26 commits
| https://github.com/stackrox/stackrox/pull/19829/files |
|
c55e335
perf(ci): add Docker buildx layer caching for image builds
davdhacs Apr 2, 2026
| https://github.com/stackrox/stackrox/pull/19829/commits/c55e335f3bea8ec9dc4a3ea97bcf60353f717c76 |
|
3b67987
ci: trigger warm buildx cache run
davdhacs Apr 2, 2026
| https://github.com/stackrox/stackrox/pull/19829/commits/3b67987905fa88e797252282c2892db023adc4da |
|
c917dc8
perf(ci): restructure Dockerfile for better layer caching
davdhacs Apr 2, 2026
| https://github.com/stackrox/stackrox/pull/19829/commits/c917dc82ec434e16d517a946b01c3611cf371f43 |
|
ad814a0
fix: copy save-dir-contents into base-with-packages stage
davdhacs Apr 3, 2026
| https://github.com/stackrox/stackrox/pull/19829/commits/ad814a04c17c89f5147aaf05d3825a915c16de81 |
|
e1dca2b
ci: trigger warm run with Dockerfile cache
davdhacs Apr 3, 2026
| https://github.com/stackrox/stackrox/pull/19829/commits/e1dca2bf8f940c15c2e3b3f9cf5d9b2483cb6f23 |
|
c48a86d
perf(ci): use docker/build-push-action for main image with GHA cache
davdhacs Apr 3, 2026
| https://github.com/stackrox/stackrox/pull/19829/commits/c48a86d201c4dc91cee2071fa456777b7368cb75 |
|
6e39717
ci: trigger warm run
davdhacs Apr 3, 2026
| https://github.com/stackrox/stackrox/pull/19829/commits/6e39717e9ecb0984a2b762a5d779c166049117ec |
|
81346d5
perf(ci): use COPY --link for independent layer caching
davdhacs Apr 3, 2026
| https://github.com/stackrox/stackrox/pull/19829/commits/81346d50c26616a1ab9f303adc8814ea0e651518 |
|
6ecf0a3
ci: warm run with COPY --link
davdhacs Apr 3, 2026
| https://github.com/stackrox/stackrox/pull/19829/commits/6ecf0a30ca2d926090d887bcc6e7e7477fbd096a |
|
23a6713
perf(ci): push main image directly from buildx, skip --load
davdhacs Apr 3, 2026
| https://github.com/stackrox/stackrox/pull/19829/commits/23a67139afc75dc016ddcdfc79be2e312fc10bcd |
|
b10b256
fix(ci): use secrets directly for registry login
davdhacs Apr 3, 2026
| https://github.com/stackrox/stackrox/pull/19829/commits/b10b25603b0ebe80cee70bc69cdbbe06cd32afb0 |
|
9d051d2
fix(ci): add arch-suffixed tags for manifest list creation
davdhacs Apr 3, 2026
| https://github.com/stackrox/stackrox/pull/19829/commits/9d051d240f44319c43094f3c6026a8c7f3079e9d |
|
16b7296
fix(ci): use registry_rw_login for quay.io push credentials
davdhacs Apr 3, 2026
| https://github.com/stackrox/stackrox/pull/19829/commits/16b7296d36357f222c38d0a97c72a55a94d2ae28 |
|
d3454d6
fix(ci): push main to rhacs-eng only via buildx, use existing push fo…
davdhacs Apr 3, 2026
| https://github.com/stackrox/stackrox/pull/19829/commits/d3454d62eef1c5cecd855a494d64c72fa40b7ba8 |
|
8172824
fix(ci): handle missing local main image after buildx push
davdhacs Apr 3, 2026
| https://github.com/stackrox/stackrox/pull/19829/commits/8172824b41aeba4b6ed002c0c1e2d3c9a5a3181e |
|
5468d96
fix(ci): revert to load:true with existing push pipeline
davdhacs Apr 3, 2026
| https://github.com/stackrox/stackrox/pull/19829/commits/5468d962d1fa52aaffeea6efed9ea20ce0374860 |
|
b5b96c1
perf(ci): push main image directly via buildx with provenance:false
davdhacs Apr 3, 2026
| https://github.com/stackrox/stackrox/pull/19829/commits/b5b96c12ae0565d910ace0d042751e4417bef831 |
|
079fd0f
fix(ci): use docker/login-action for buildx push, skopeo for cross-or…
davdhacs Apr 3, 2026
| https://github.com/stackrox/stackrox/pull/19829/commits/079fd0fbad91a394d6f7bb54dad4de25e53a2e06 |
|
9096228
fix(ci): use explicit skopeo credentials for cross-org image copy
davdhacs Apr 3, 2026
| https://github.com/stackrox/stackrox/pull/19829/commits/9096228e8f97d8be4f23be2adcadcd5ebfe46e10 |
|
da69f5f
perf(ci): switch Docker layer cache from GHA to GHCR registry
davdhacs Apr 4, 2026
| https://github.com/stackrox/stackrox/pull/19829/commits/da69f5f095d1cd8460b8dcbc5cf87f1e84e54068 |
|
97c431f
perf(ci): use docker buildx driver to skip ~40s container boot
davdhacs Apr 4, 2026
| https://github.com/stackrox/stackrox/pull/19829/commits/97c431f8254b959ed73f445dae95dfffe7a2479f |
|
2af6fca
ci: warm run with GHCR cache
davdhacs Apr 4, 2026
| https://github.com/stackrox/stackrox/pull/19829/commits/2af6fca43559b3d6b84771e8cfeea1e33165ca6e |
|
8a15c85
perf(ci): add inline cache with docker driver
davdhacs Apr 4, 2026
| https://github.com/stackrox/stackrox/pull/19829/commits/8a15c85bc563f50f14b46ea80120cea802f9129d |
|
e6f6f05
ci: warm run with docker driver + inline cache
davdhacs Apr 4, 2026
| https://github.com/stackrox/stackrox/pull/19829/commits/e6f6f05d26cebf4268383c7f8e43449aded28b42 |
|
16db856
experiment: stable build ldflags for Docker layer caching
davdhacs Apr 4, 2026
| https://github.com/stackrox/stackrox/pull/19829/commits/16db8568da3ba44faa37b619ff239f9a0300d781 |
|
5752a50
ci: warm run - test layer cache with stable binaries
davdhacs Apr 4, 2026
| https://github.com/stackrox/stackrox/pull/19829/commits/5752a5043377d0d290187ef1ae1c229397a74549 |
|
Clear filters
| https://github.com/stackrox/stackrox/pull/19829/files |
| Please reload this page | https://github.com/stackrox/stackrox/pull/19829/files |
| Please reload this page | https://github.com/stackrox/stackrox/pull/19829/files |
|
build.yaml
| https://github.com/stackrox/stackrox/pull/19829/files#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1 |
|
Dockerfile
| https://github.com/stackrox/stackrox/pull/19829/files#diff-0701a453bcdef3d59932ec7a3e44039b2b5c54981823c980b0a823bf8792c29e |
|
docker-build.sh
| https://github.com/stackrox/stackrox/pull/19829/files#diff-d30c84327513edc188b843954c234163168a1b35c2e4230ebfbc41bd0ad0af94 |
|
| https://github.com/stackrox/stackrox/blob/master/.github/CODEOWNERS#L114 |
| .github/workflows/build.yaml | https://github.com/stackrox/stackrox/pull/19829/files#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1 |
|
View file
| https://github.com/stackrox/stackrox/blob/5752a5043377d0d290187ef1ae1c229397a74549/.github/workflows/build.yaml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/stackrox/stackrox/pull/19829/{{ revealButtonHref }} |
|
| https://github.com/stackrox/stackrox/pull/19829/files#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1 |
| coderabbitai | https://github.com/apps/coderabbitai |
| Apr 4, 2026 | https://github.com/stackrox/stackrox/pull/19829/files#r3035727014 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/stackrox/stackrox/pull/19829/files |
|
| https://github.com/stackrox/stackrox/pull/19829/files#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1 |
|
| https://github.com/stackrox/stackrox/pull/19829/files#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1 |
|
| https://github.com/stackrox/stackrox/pull/19829/files#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1 |
|
| https://github.com/stackrox/stackrox/pull/19829/files#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1 |
|
| https://github.com/stackrox/stackrox/pull/19829/files#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1 |
|
| https://github.com/stackrox/stackrox/pull/19829/files#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1 |
|
| https://github.com/stackrox/stackrox/pull/19829/files#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1 |
|
| https://github.com/stackrox/stackrox/pull/19829/files#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1 |
| coderabbitai | https://github.com/apps/coderabbitai |
| Apr 4, 2026 | https://github.com/stackrox/stackrox/pull/19829/files#r3035727016 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/stackrox/stackrox/pull/19829/files |
| coderabbitai | https://github.com/apps/coderabbitai |
| Apr 4, 2026 | https://github.com/stackrox/stackrox/pull/19829/files#r3035727018 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/stackrox/stackrox/pull/19829/files |
|
| https://github.com/stackrox/stackrox/pull/19829/files#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1 |
| sourcery-ai | https://github.com/apps/sourcery-ai |
| Apr 4, 2026 | https://github.com/stackrox/stackrox/pull/19829/files#r3035712329 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/stackrox/stackrox/pull/19829/files |
|
| https://github.com/stackrox/stackrox/pull/19829/files#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1 |
|
| https://github.com/stackrox/stackrox/pull/19829/files#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1 |
|
| https://github.com/stackrox/stackrox/pull/19829/files#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1 |
| image/rhel/Dockerfile | https://github.com/stackrox/stackrox/pull/19829/files#diff-0701a453bcdef3d59932ec7a3e44039b2b5c54981823c980b0a823bf8792c29e |
|
View file
| https://github.com/stackrox/stackrox/blob/5752a5043377d0d290187ef1ae1c229397a74549/image/rhel/Dockerfile |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/stackrox/stackrox/pull/19829/{{ revealButtonHref }} |
|
| https://github.com/stackrox/stackrox/pull/19829/files#diff-0701a453bcdef3d59932ec7a3e44039b2b5c54981823c980b0a823bf8792c29e |
|
| https://github.com/stackrox/stackrox/pull/19829/files#diff-0701a453bcdef3d59932ec7a3e44039b2b5c54981823c980b0a823bf8792c29e |
| sourcery-ai | https://github.com/apps/sourcery-ai |
| Apr 4, 2026 | https://github.com/stackrox/stackrox/pull/19829/files#r3035712328 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/stackrox/stackrox/pull/19829/files |
|
| https://github.com/stackrox/stackrox/pull/19829/files#diff-0701a453bcdef3d59932ec7a3e44039b2b5c54981823c980b0a823bf8792c29e |
| scripts/docker-build.sh | https://github.com/stackrox/stackrox/pull/19829/files#diff-d30c84327513edc188b843954c234163168a1b35c2e4230ebfbc41bd0ad0af94 |
|
View file
| https://github.com/stackrox/stackrox/blob/5752a5043377d0d290187ef1ae1c229397a74549/scripts/docker-build.sh |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/stackrox/stackrox/pull/19829/{{ revealButtonHref }} |
|
| https://github.com/stackrox/stackrox/pull/19829/files#diff-d30c84327513edc188b843954c234163168a1b35c2e4230ebfbc41bd0ad0af94 |
| Please reload this page | https://github.com/stackrox/stackrox/pull/19829/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |