mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-28 09:24:24 +01:00
(bug) unable to run yq in deployment scripts
This commit is contained in:
parent
35cc5ed149
commit
692a09016a
@ -2,6 +2,8 @@
|
||||
|
||||
## next deploy
|
||||
|
||||
- Fix a bug: unable to run yq in deployment scripts
|
||||
|
||||
## v5.4.5 2022 June 27
|
||||
|
||||
- Feature the next event in the event page
|
||||
|
@ -3,7 +3,7 @@
|
||||
# This script fixes the log4j CVE-2021-44228 vulnerability for instances using Elasticsearch 5.x
|
||||
|
||||
yq() {
|
||||
docker run --rm -i -v "${PWD}:/workdir" mikefarah/yq:4 "$@"
|
||||
docker run --rm -i -v "${PWD}:/workdir" --user "$UID" mikefarah/yq:4 "$@"
|
||||
}
|
||||
|
||||
config() {
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
yq() {
|
||||
docker run --rm -i -v "${PWD}:/workdir" mikefarah/yq:4 "$@"
|
||||
docker run --rm -i -v "${PWD}:/workdir" --user "$UID" mikefarah/yq:4 "$@"
|
||||
}
|
||||
|
||||
config()
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
yq() {
|
||||
docker run --rm -i -v "${PWD}:/workdir" mikefarah/yq:4 "$@"
|
||||
docker run --rm -i -v "${PWD}:/workdir" --user "$UID" mikefarah/yq:4 "$@"
|
||||
}
|
||||
|
||||
config()
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
yq() {
|
||||
docker run --rm -i -v "${PWD}:/workdir" mikefarah/yq:4 "$@"
|
||||
docker run --rm -i -v "${PWD}:/workdir" --user "$UID" mikefarah/yq:4 "$@"
|
||||
}
|
||||
|
||||
config()
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
yq() {
|
||||
docker run --rm -i -v "${NGINX_PATH}:/workdir" mikefarah/yq:4 "$@"
|
||||
docker run --rm -i -v "${NGINX_PATH}:/workdir" --user "$UID" mikefarah/yq:4 "$@"
|
||||
}
|
||||
|
||||
config()
|
||||
|
@ -60,7 +60,7 @@ test_docker_compose()
|
||||
}
|
||||
|
||||
yq() {
|
||||
docker run --rm -i -v "${FM_PATH}:/workdir" mikefarah/yq:4 "$@"
|
||||
docker run --rm -i -v "${FM_PATH}:/workdir" --user "$UID" mikefarah/yq:4 "$@"
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
yq() {
|
||||
docker run --rm -i -v "${PWD}:/workdir" mikefarah/yq:4 "$@"
|
||||
docker run --rm -i -v "${PWD}:/workdir" --user "$UID" mikefarah/yq:4 "$@"
|
||||
}
|
||||
|
||||
config() {
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
yq() {
|
||||
docker run --rm -i -v "${PWD}:/workdir" mikefarah/yq:4 "$@"
|
||||
docker run --rm -i -v "${PWD}:/workdir" --user "$UID" mikefarah/yq:4 "$@"
|
||||
}
|
||||
|
||||
config()
|
||||
|
Loading…
Reference in New Issue
Block a user