mirror of
https://github.com/actions/runner-images.git
synced 2025-12-17 15:20:11 +00:00
remove temporary path
This commit is contained in:
@@ -17,8 +17,7 @@ ORAS_CLI_ARCHIVE=$(basename $ORAS_CLI_DOWNLOAD_URL)
|
|||||||
cd /tmp
|
cd /tmp
|
||||||
download_with_retries $ORAS_CLI_DOWNLOAD_URL
|
download_with_retries $ORAS_CLI_DOWNLOAD_URL
|
||||||
mkdir -p oras-install
|
mkdir -p oras-install
|
||||||
tar -xzvf $ORAS_CLI_ARCHIVE -C oras-install/
|
tar -zxvf $ORAS_CLI_ARCHIVE -C /usr/local/bin oras
|
||||||
mv oras-install/oras /usr/local/bin/
|
|
||||||
|
|
||||||
# Run tests to determine that the software installed as expected
|
# Run tests to determine that the software installed as expected
|
||||||
echo "Testing to make sure that script performed as expected, and basic scenarios work"
|
echo "Testing to make sure that script performed as expected, and basic scenarios work"
|
||||||
@@ -29,4 +28,4 @@ fi
|
|||||||
|
|
||||||
# Document what was added to the image
|
# Document what was added to the image
|
||||||
echo "Lastly, documenting what we added to the metadata file"
|
echo "Lastly, documenting what we added to the metadata file"
|
||||||
DocumentInstalledItem "ORAS $(oras version | awk 'NR==1{print $2}')"
|
DocumentInstalledItem "ORAS CLI $(oras version | awk 'NR==1{print $2}')"
|
||||||
Reference in New Issue
Block a user