Skip to content

Commit f8f121a

Browse files
SONAR-26973 Fix the Release Action
1 parent bf92087 commit f8f121a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
ARG VERSION=3.6.3
22
FROM alpine/helm:$VERSION
33

4-
# Create a non-root user
5-
RUN addgroup -g 1000 helm && \
6-
adduser -D -u 1000 -G helm helm
4+
# Create a non-root user matching GitHub Actions runner UID
5+
RUN addgroup -g 1001 runner && \
6+
adduser -D -u 1001 -G runner runner
77

88
COPY entrypoint.sh /entrypoint.sh
99
RUN chmod +x /entrypoint.sh
1010

1111
# Switch to non-root user
12-
USER helm
12+
USER runner
1313

1414
ENTRYPOINT ["/entrypoint.sh"]

0 commit comments

Comments
 (0)