This repository was archived by the owner on Oct 22, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ ENV LC_ALL="C.UTF-8"
1919
2020WORKDIR /opt
2121
22- # https://help.github.com/en/actions/creating-actions/dockerfile-support-for-github-actions#user
23- USER root
24-
2522# Prepare entrypoint
2623COPY entrypoint.sh /entrypoint.sh
2724RUN chmod +x /entrypoint.sh
25+ COPY cleanup.sh /cleanup.sh
26+ RUN chmod +x /cleanup.sh
2827ENTRYPOINT ["/entrypoint.sh" ]
28+
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ branding:
88runs :
99 using : docker
1010 image : Dockerfile
11+ entrypoint : " /entrypoint.sh"
12+ post-entrypoint : " /cleanup.sh"
1113inputs :
1214 args :
1315 description : Additional arguments to the sonarcloud scanner
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -e
4+
5+ _tmp_file=$( ls " ${INPUT_PROJECTBASEDIR} /" | head -1)
6+ PERM=$( stat -c " %u:%g" " ${INPUT_PROJECTBASEDIR} /$_tmp_file " )
7+
8+ chown -R $PERM " ${INPUT_PROJECTBASEDIR} /"
9+
You can’t perform that action at this time.
0 commit comments