We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c173881 commit 3d7526eCopy full SHA for 3d7526e
Dockerfile
@@ -1,3 +1,10 @@
1
-FROM python:3.8
+FROM python:3.11-alpine
2
+
3
+RUN set -eux; \
4
+ apk add --no-cache \
5
+ git \
6
+ gpg \
7
+ bash \
8
+ ;
9
COPY entrypoint.sh /entrypoint.sh
10
ENTRYPOINT ["/entrypoint.sh"]
entrypoint.sh
@@ -2,14 +2,20 @@
set -e
+# Reporting
gpg --version
+git --version
if [[ -z $INPUT_GITHUB_TOKEN ]]; then
echo 'Missing input "github_token: ${{ secrets.GITHUB_TOKEN }}".' >&2
11
exit 1
12
fi
13
14
echo "Configuring Git username, email, and pull behavior..."
15
16
+# Fix #56
17
+git config --global --add safe.directory "*"
18
19
git config --local user.name "${INPUT_GIT_NAME}"
20
git config --local user.email "${INPUT_GIT_EMAIL}"
21
git config --local pull.rebase true
0 commit comments