We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eda940b commit 8067fbfCopy full SHA for 8067fbf
.github/workflows/test-installers.yml
@@ -91,9 +91,11 @@ jobs:
91
# Add a non-admin sudoer user and switch to it
92
adduser compass
93
echo "compass ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
94
+ # Make sure the compass user has write access to the workspace
95
+ chown -R compass:compass $HOME
96
# Use a shell which switch to the non-root compass user first
97
# Using --preserve-env and --preserve-env=PATH to propagate environment variables
- shell: sudo --preserve-env=PATH --preserve-env -u compass bash -e {0}
98
+ shell: sudo --preserve-env=HOME --preserve-env=PATH --preserve-env -u compass bash -e {0}
99
container:
100
image: rockylinux:9
101
volumes:
0 commit comments