File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1
1
FROM node:14.21.3-bullseye-slim
2
2
3
+
3
4
# RUN apk add --no-cache bash git openssh-client
4
5
5
6
# Create app directory
@@ -15,5 +16,9 @@ RUN yarn install --frozen-lockfile --production
15
16
# copy app files
16
17
COPY . ./
17
18
19
+ RUN useradd -d /home/username -m -s /bin/bash codefresh
20
+
21
+ USER codefresh
22
+
18
23
# run application
19
24
CMD ["node" , "/app/index.js" ]
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ metadata:
4
4
name : webhook
5
5
title : Call a custom webhook
6
6
latest : true
7
- version : 0.0.12
7
+ version : 0.0.13
8
8
isPublic : true
9
9
description : Notify any webook URL with any custom request body.
10
10
sources :
70
70
steps :
71
71
main :
72
72
name : webhook
73
- image : quay.io/codefreshplugins/webhook-plugin:0.0.12
73
+ image : quay.io/codefreshplugins/webhook-plugin:0.0.13
74
74
environment :
75
75
- ' WEBHOOK_USERNAME=${{WEBHOOK_USERNAME}}'
76
76
- ' WEBHOOK_PASSWORD=${{WEBHOOK_PASSWORD}}'
You can’t perform that action at this time.
0 commit comments