mirror of
https://github.com/actions/runner-images.git
synced 2025-12-13 04:37:09 +00:00
8 lines
393 B
Bash
8 lines
393 B
Bash
#Set ImageVersion and ImageOS env variables
|
|
echo ImageVersion=$IMAGE_VERSION | tee -a /etc/environment
|
|
echo ImageOS=$IMAGE_OS | tee -a /etc/environment
|
|
|
|
# This directory is supposed to be created in $HOME and owned by user(https://github.com/actions/virtual-environments/issues/491)
|
|
mkdir -p /etc/skel/.config/configstore
|
|
echo 'export XDG_CONFIG_HOME=$HOME/.config' | tee -a /etc/skel/.bashrc
|