mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-12 05:38:04 +00:00
Updated github action to run as root
This commit is contained in:
parent
ae7a48df2d
commit
fb330ebcb0
@ -2,7 +2,8 @@ FROM mikefarah/yq:4
|
|||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
# this seems to be the default user in github actions
|
# github action recommendation is to run as root.
|
||||||
USER 1001
|
# https://docs.github.com/en/actions/creating-actions/dockerfile-support-for-github-actions#user
|
||||||
|
USER root
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
Loading…
Reference in New Issue
Block a user