Skip to content

Commit

Permalink
Fix Docker example errors and make it POSIX compliant (#22635)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascosti committed Dec 13, 2022
1 parent 54022f1 commit 37644c8
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,8 @@ Using the example Dockerfile above, {% data variables.product.product_name %} wi

# `$#` expands to the number of arguments and `$@` expands to the supplied `args`
printf '%d args:' "$#"
printf $' \'%s\'' "$@"
printf ' <%s>' "$@"
echo
printf " '%s'" "$@"
printf '\n'
```

Your code must be executable. Make sure the `entrypoint.sh` file has `execute` permissions before using it in a workflow. You can modify the permission from your terminal using this command:
Expand Down

0 comments on commit 37644c8

Please sign in to comment.