From 527418f560527646c6be1efc65f09ebc058b32b6 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 13 Aug 2024 12:36:00 +0200 Subject: [PATCH] add images to docker images --- .forgejo/workflows/publish.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.forgejo/workflows/publish.yml b/.forgejo/workflows/publish.yml index 9afee19..7c87367 100644 --- a/.forgejo/workflows/publish.yml +++ b/.forgejo/workflows/publish.yml @@ -11,6 +11,16 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Checkout LFS + run: | + # Replace double auth header, see https://github.com/actions/checkout/issues/1830 + tmp=$(echo "${{ github.repository }}.git/info/lfs/objects/batch" | sed 's/\//\\\//g') + sed -i "s/\(\[http\)\( \".*\)\"\]/\1\2$tmp\"]/" .git/config + + # LFS files + git lfs fetch origin refs/remotes/origin/${{ github.ref_name }} + git lfs checkout + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3