Skip to content

Commit 7657bcb

Browse files
committed
add all commit history for git clone
1 parent 5a623a6 commit 7657bcb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/docker.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,13 @@ jobs:
2121
steps:
2222
- name: Clone main repository
2323
uses: actions/checkout@v4
24+
with:
25+
fetch-depth: 0
26+
ref: main
2427

2528
- name: Checkout the specified commit
2629
run: git checkout ${{ github.event.inputs.Commit }}
27-
30+
2831
- name: Login to Docker Hub
2932
uses: docker/login-action@v3
3033
with:
@@ -43,4 +46,4 @@ jobs:
4346
docker buildx build \
4447
--platform linux/amd64,linux/arm64 \
4548
-t lifailon/lazyjournal:$version \
46-
--push .
49+
--push .

0 commit comments

Comments
 (0)