mirror of
https://github.com/cpina/github-action-push-to-another-repository.git
synced 2024-12-21 23:56:09 -07:00
Enable git lfs (#98)
This commit is contained in:
parent
9e487f2958
commit
0a14457bb2
|
@ -1,6 +1,6 @@
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
|
||||||
RUN apk add --no-cache git openssh-client
|
RUN apk add --no-cache git git-lfs openssh-client
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
|
|
@ -60,6 +60,9 @@ CLONE_DIR=$(mktemp -d)
|
||||||
echo "[+] Git version"
|
echo "[+] Git version"
|
||||||
git --version
|
git --version
|
||||||
|
|
||||||
|
echo "[+] Enable git lfs"
|
||||||
|
git lfs install
|
||||||
|
|
||||||
echo "[+] Cloning destination git repository $DESTINATION_REPOSITORY_NAME"
|
echo "[+] Cloning destination git repository $DESTINATION_REPOSITORY_NAME"
|
||||||
# Setup git
|
# Setup git
|
||||||
git config --global user.email "$USER_EMAIL"
|
git config --global user.email "$USER_EMAIL"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user