Skip to content

Commit 7578660

Browse files
authored
Update deploy_to_ghcr_custom_tag.yaml
1 parent 7f6bf5c commit 7578660

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/deploy_to_ghcr_custom_tag.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ jobs:
1818
- name: Checkout GitHub Action
1919
uses: actions/checkout@v4
2020
with:
21-
ref: ${{ github.event.inputs.tag }}
21+
fetch-depth: 0 # Fetch all history for all tags and branches
22+
23+
- name: Checkout specific tag
24+
run: git checkout tags/v${{ github.event.inputs.tag }}
2225

2326
- name: Login to GitHub Container Registry
2427
uses: docker/login-action@v3

0 commit comments

Comments
 (0)