mirror of
https://github.com/cpina/github-action-push-to-another-repository.git
synced 2026-11-22 10:19:47 -07:00
Enable git lfs
This commit is contained in:
1 parent
9e487f2958
commit
ab96af5062
2 files changed
+4
-1
No files matched your search
+1
-1
@@ -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"
|
||||||
|
|||||||
Reference in new issue
Block a user