File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 8181 file=$(ls images/Dappnode-debian-*.iso)
8282 filename=$(basename "$file") # Extract only the file name (without path)
8383 attended_filename="images/Dappnode-${CORE_VERSION}-debian-${filename#Dappnode-debian-}" # Modify the filename using CORE_VERSION
84- cp "$file" "$attended_filename"
84+ sudo cp "$file" "$attended_filename"
8585
8686 - name : Build Debian unattended
8787 run : |
@@ -100,7 +100,7 @@ jobs:
100100 filename=$(basename "$file") # Extract only the file name (without path)
101101 core_filename="Dappnode-${CORE_VERSION}-debian-${filename#Dappnode-debian-}" # Modify the filename using CORE_VERSION
102102 unattended_filename="${core_filename/%.iso/-unattended.iso}" # Replace .iso with -unattended.iso
103- cp "$file" "images/$unattended_filename"
103+ sudo cp "$file" "images/$unattended_filename"
104104
105105 - name : Build Ubuntu unattended
106106 run : |
@@ -118,7 +118,7 @@ jobs:
118118 filename=$(basename "$file") # Extract only the file name (without path)
119119 core_filename="Dappnode-${CORE_VERSION}-ubuntu-${filename#Dappnode-ubuntu-}" # Modify the filename using CORE_VERSION
120120 unattended_filename="${core_filename/%.iso/-unattended.iso}" # Replace .iso with -unattended.iso
121- cp "$file" "images/$unattended_filename"
121+ sudo cp "$file" "images/$unattended_filename"
122122
123123 - name : Create dappnode_profile.sh
124124 run : |
You can’t perform that action at this time.
0 commit comments