Skip to content

Commit

Permalink
Use relative path to tar image files
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeglius committed Dec 8, 2024
1 parent 825edb6 commit 27110c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/upload_sysext/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ runs:
sudo chown 1001:1001 "$file"
# Create tar archive
tar --zstd -cf "${base_name}.tar.zst" "$file"
tar --zstd -cf "${base_name}.tar.zst" "$(realpath --relative-to $PWD $file)"
# Extract NAME from base_name (everything before the last underscore)
NAME=$(echo "$base_name" | sed 's/\(.*\)_.*$/\1/')
Expand Down

0 comments on commit 27110c4

Please sign in to comment.