add images to docker images
This commit is contained in:
parent
2d9fc0d559
commit
9e5982bbfc
1 changed files with 14 additions and 0 deletions
|
@ -11,6 +11,20 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Checkout LFS
|
||||||
|
run: |
|
||||||
|
cat .git/config
|
||||||
|
|
||||||
|
ReplaceStr=$(echo "${{ github.repository }}.git/info/lfs/objects/batch" | sed 's/\//\\\//g')
|
||||||
|
sed -i "s/\(\[http\)\( \".*\)\"\]/\1\2$ReplaceStr\"]/" .git/config
|
||||||
|
|
||||||
|
git config --local lfs.transfer.maxretries 1
|
||||||
|
|
||||||
|
cat .git/config
|
||||||
|
|
||||||
|
git lfs fetch origin refs/remotes/origin/${{ github.ref_name }}
|
||||||
|
git lfs checkout
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue