GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||
GeezerVison is showing github.com — docker(install): set missing XDG_RUNTIME_DIR env by crazy-max · Pull Request #763 · docker/actions-toolkit Conversation
|
| const envs = Object.assign({}, process.env, { | ||
| PATH: `${this.toolDir}:${process.env.PATH}`, | ||
| XDG_RUNTIME_DIR: (this.rootless && this.runDir) || undefined | ||
| XDG_RUNTIME_DIR: (this.rootless && this.runDir) || process.env.XDG_RUNTIME_DIR |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This doesn't hurt, but actually it shouldn't even get to that point if runDir is not set?
actions-toolkit/src/docker/install.ts
Lines 233 to 235 in 70344da
| if (!this.runDir) { | |
| throw new Error('runDir must be set'); | |
| } |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Ah yes indeed, I'm reverting this change
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Signed-off-by: CrazyMax <[email protected]>
37991d7 to
7f3d74b
Compare
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
PATH and XDG_RUNTIME_DIR env variables are not set in rootless mode.
There was an error while loading. Please reload this page.