set github default user

This commit is contained in:
Mike Farah 2021-07-16 09:58:40 +10:00
parent 19fb1044b7
commit 19baeec5c9
2 changed files with 4 additions and 0 deletions

View File

@ -15,5 +15,6 @@ jobs:
- name: Write inplace test
id: lookupSdkVersion
uses: mikefarah/yq@master
options: --user 1001
with:
cmd: yq eval -i '.a.b = 5' examples/data1.yaml

View File

@ -2,4 +2,7 @@ FROM mikefarah/yq:4.9.8
COPY entrypoint.sh /entrypoint.sh
# this seems to be the default user in github actions
USER 1001
ENTRYPOINT ["/entrypoint.sh"]