We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf92087 commit f8f121aCopy full SHA for f8f121a
.github/actions/helm-index/Dockerfile
@@ -1,14 +1,14 @@
1
ARG VERSION=3.6.3
2
FROM alpine/helm:$VERSION
3
4
-# Create a non-root user
5
-RUN addgroup -g 1000 helm && \
6
- adduser -D -u 1000 -G helm helm
+# Create a non-root user matching GitHub Actions runner UID
+RUN addgroup -g 1001 runner && \
+ adduser -D -u 1001 -G runner runner
7
8
COPY entrypoint.sh /entrypoint.sh
9
RUN chmod +x /entrypoint.sh
10
11
# Switch to non-root user
12
-USER helm
+USER runner
13
14
ENTRYPOINT ["/entrypoint.sh"]
0 commit comments