This commit is contained in:
holzi1005 2024-12-18 17:44:02 +01:00
parent 19de333601
commit fb371802f9

View file

@ -25,9 +25,7 @@ WORKDIR /opt/webhook
RUN wget https://github.com/adnanh/webhook/releases/download/${VERSION}/webhook-linux-amd64.tar.gz -O artifact.tar.gz \ RUN wget https://github.com/adnanh/webhook/releases/download/${VERSION}/webhook-linux-amd64.tar.gz -O artifact.tar.gz \
&& tar --strip-components=1 -xvzf artifact.tar.gz \ && tar --strip-components=1 -xvzf artifact.tar.gz \
&& ls -ls \ && ls -ls
&& chmod +x webhook-linux-amd64/webhook \
rm artifact.tar.gz
RUN echo "- id: whoami-webhook" > hooks.yaml \ RUN echo "- id: whoami-webhook" > hooks.yaml \
&& echo " execute-command: 'whoami'" >> hooks.yaml && echo " execute-command: 'whoami'" >> hooks.yaml