feat(argocd): configure git-age filter

This commit is contained in:
Peter 2024-04-26 09:18:32 +02:00
parent 6ccd86aa2f
commit 01be6b8397
Signed by: prskr
GPG key ID: F56BED6903BC5E37
2 changed files with 11 additions and 0 deletions

View file

@ -5,6 +5,7 @@ FROM ${BASE_IMAGE}
USER root USER root
ADD https://code.icb4dc0.de/api/packages/prskr/debian/repository.key /etc/apt/trusted.gpg.d/forgejo-prskr.asc ADD https://code.icb4dc0.de/api/packages/prskr/debian/repository.key /etc/apt/trusted.gpg.d/forgejo-prskr.asc
COPY gitconfig /etc/gitconfig
RUN chmod 644 /etc/apt/trusted.gpg.d/forgejo-prskr.asc && \ RUN chmod 644 /etc/apt/trusted.gpg.d/forgejo-prskr.asc && \
echo "deb https://code.icb4dc0.de/api/packages/prskr/debian bookworm main" > /etc/apt/sources.list.d/forgejo.list && \ echo "deb https://code.icb4dc0.de/api/packages/prskr/debian bookworm main" > /etc/apt/sources.list.d/forgejo.list && \

10
argocd/gitconfig Normal file
View file

@ -0,0 +1,10 @@
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[filter "age"]
clean = git-age clean -- %f
smudge = git-age smudge -- %f
required = true