Skip to content

Commit

Permalink
fix: apply hotfix for git security error #10
Browse files Browse the repository at this point in the history
This commit applies a hotfix for the 'fatal: unsafe repository' error
introduced in
https://github.blog/2022-04-12-git-security-vulnerability-announced/.
This fix can be removed when an upstream fix has been applied to the
action ecosystem. See actions/checkout#766 and
#10 for more
information.
  • Loading branch information
rickstaa committed Apr 26, 2022
1 parent 19e7d4f commit e3b6d2f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
FROM alpine:3.15
# NOTE: The alpine version in this container is currently fixed at 3.14 to prevent the
# 'fatal: unsafe repository' error that was introduced in https://github.blog/2022-04-12-git-security-vulnerability-announced/.
# See https://github.com/actions/checkout/issues/766 andhttps://github.com/rickstaa/action-create-tag/issues/10 for
# more information.
FROM alpine:3.14

RUN apk --no-cache add git && \
rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit e3b6d2f

Please sign in to comment.