mirror of
https://github.com/mikefarah/yq.git
synced 2024-12-19 20:19:04 +00:00
set github default user
This commit is contained in:
parent
19fb1044b7
commit
19baeec5c9
1
.github/workflows/test-yq.yml
vendored
1
.github/workflows/test-yq.yml
vendored
@ -15,5 +15,6 @@ jobs:
|
|||||||
- name: Write inplace test
|
- name: Write inplace test
|
||||||
id: lookupSdkVersion
|
id: lookupSdkVersion
|
||||||
uses: mikefarah/yq@master
|
uses: mikefarah/yq@master
|
||||||
|
options: --user 1001
|
||||||
with:
|
with:
|
||||||
cmd: yq eval -i '.a.b = 5' examples/data1.yaml
|
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
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
# this seems to be the default user in github actions
|
||||||
|
USER 1001
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
Loading…
Reference in New Issue
Block a user