mirror of
https://github.com/mikefarah/yq.git
synced 2026-08-31 04:54:44 +08:00
set github default user
This commit is contained in:
@@ -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
|
||||
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user