Skip to content

Commit ef3ef7b

Browse files
author
Pablo Mendez
committed
use sudo
1 parent bd53b6b commit ef3ef7b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
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: |

0 commit comments

Comments
 (0)