Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Commit ad08028

Browse files
committed
break rules and use bash
1 parent d547699 commit ad08028

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

actions/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ RUN mkdir -p /root/.docker && \
4444
echo {} > /root/.docker/config.json && \
4545
chmod u+x /entrypoint.sh
4646

47-
ENTRYPOINT ["/entrypoint.sh"]
47+
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]

actions/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ action "push" {
6666
action "Run container-diff" {
6767
needs = ["build", "login", "push"]
6868
uses = "GoogleContainerTools/container-diff/actions@master"
69-
args = ["analyze", "vanessa/salad", "--type=pip", "type=apt", "--type=history", "--output", "/github/workspace/data.json", "--type=file", "--json", "--quiet", "--verbosity=panic" ]
69+
args = ["analyze", "daemon://vanessa/salad", "--type=pip", "type=apt", "--type=history", "--output=/github/workspace/data.json", "--type=file", "--json", "--quiet", "--verbosity=panic" ]
7070
}
7171
7272
action "list" {

actions/entrypoint.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/bin/sh -l
1+
#!/bin/bash
22

3-
echo "$@"
4-
sh -c "exec /go/bin/container-diff ${@}"
3+
exec /go/bin/container-diff "${@}"

0 commit comments

Comments
 (0)