We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27e93a1 commit 1cff6fcCopy full SHA for 1cff6fc
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,21 @@
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 "/__w/commitizen-action/commitizen-action"
18
+pwd
19
20
git config --local user.name "${INPUT_GIT_NAME}"
21
git config --local user.email "${INPUT_GIT_EMAIL}"
22
git config --local pull.rebase true
0 commit comments