Skip to content

Conversation

@dvdksn
Copy link
Contributor

@dvdksn dvdksn commented Jan 13, 2025

Replaces the use of an absolute path for /tmp in github actions examples with
a temporary directory defined by the runner context. Using the runner.temp
directory ensures that the temp directory is properly cleaned up after the job
ends, avoiding situations where an absolute path like /tmp would accumulate
data, eventually resulting in build errors (on self-hosted runners).

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
@dvdksn dvdksn requested a review from crazy-max as a code owner January 13, 2025 16:07
@github-actions github-actions bot added the area/build Relates to Dockerfiles or docker build command label Jan 13, 2025
@netlify
Copy link

netlify bot commented Jan 13, 2025

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 7bd2b73
🔍 Latest deploy log https://app.netlify.com/sites/docsdocker/deploys/67853a27d117700008f9e74e
😎 Deploy Preview https://deploy-preview-21801--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@dvdksn dvdksn merged commit b40e4e7 into docker:main Jan 13, 2025
14 checks passed
@dvdksn dvdksn deleted the gha-runner-tmp-dir branch January 13, 2025 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/build Relates to Dockerfiles or docker build command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multi-Platform image with GitHub Actions examples using /tmp

2 participants