Skip to content

Commit 82144b7

Browse files
authored
fix: shell scripting error (#114)
Need to use `cat | sudo tee ...` rather than `sudo cat > ...` to write to a file as root.
1 parent 8484206 commit 82144b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ runs:
231231
232232
# enable sigstore attachments for BlueBuild container verification
233233
sudo mkdir -p /etc/containers/registries.d
234-
sudo cat <<'EOF' > /etc/containers/registries.d/blue-build.yaml
234+
cat <<'EOF' | sudo tee /etc/containers/registries.d/blue-build.yaml > /dev/null
235235
docker:
236236
ghcr.io/blue-build:
237237
use-sigstore-attachments: true

0 commit comments

Comments
 (0)