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

Commit 49f6159

Browse files
committed
got it working! readding entrypoint
1 parent 672dafe commit 49f6159

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

actions/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,5 @@ ADD entrypoint.sh /entrypoint.sh
4343
RUN mkdir -p /root/.docker && \
4444
echo {} > /root/.docker/config.json && \
4545
chmod u+x /entrypoint.sh
46+
47+
ENTRYPOINT ["/entrypoint.sh"]

actions/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ workflow "Run container-diff isolated" {
2121
2222
action "Run container-diff" {
2323
uses = "GoogleContainerTools/container-diff/actions@master"
24-
args = ["analyze", "vanessa/salad", "--type=pip", "type=apt", "--type=history", "--output", "/github/workspace/data.json", "--type=file", "--json", "--quiet", "--verbosity=panic" ]
24+
args = "analyze remote://vanessa/salad --type=pip type=apt --type=history --output /github/workspace/data.json --type=file --json --quiet --verbosity=panic"
2525
}
2626
2727
action "list" {
@@ -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", "daemon://vanessa/salad", "--type=pip", "type=apt", "--type=history", "--output=/github/workspace/data.json", "--type=file", "--json", "--quiet", "--verbosity=panic" ]
69+
args = "analyze 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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
#!/bin/bash
1+
#!/bin/bash -l
22

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

0 commit comments

Comments
 (0)