File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -80,12 +80,13 @@ jobs:
8080 EOF
8181
8282 docker build -t zhook-action .
83+ docker build -t zhook-action-dbg -f debug.Dockerfile .
8384 docker run --rm \
8485 -v "${{ github.workspace }}:${{ github.workspace }}" \
8586 -w "${{ github.workspace }}" \
8687 --env-file /tmp/docker.env \
87- --entrypoint /bin/sh \
88- zhook-action -xc "
88+ --entrypoint /bin/bash \
89+ zhook-action-dbg -xc "
8990 ulimit -c unlimited
9091 exec /app/zhook.py
9192 "
@@ -101,6 +102,7 @@ jobs:
101102 webhookUrl : ${{ secrets.ZHOOK_URL_DEV_NOTIFICATIONS }}
102103 eventJson : ${{ toJson(github.event) }}
103104 senderUsername : GitHubZ
105+ senderIconUrl : https://github.com/fluidicon.png
104106 zitiLogLevel : 6
105107
106108 - name : Print Debug Info
Original file line number Diff line number Diff line change 1+ FROM zhook-action AS distroless
2+
3+ FROM python:3-slim AS debug
4+
5+ COPY --from=distroless /app /app
6+
7+ RUN apt-get update && apt-get install --yes bash
You can’t perform that action at this time.
0 commit comments