Skip to content

Commit

Permalink
ci: Improve workflow performance and efficiency
Browse files Browse the repository at this point in the history
- Update workflow file to fetch tags with fetch depth option
- Include commands to fetch tags and checkout GitHub reference in the workflow file
  • Loading branch information
johnnyhuy committed Oct 21, 2024
1 parent bc0a264 commit 53ab7c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-tags: true
fetch-depth: 1
- run: git fetch --tags origin
- run: git checkout ${{ github.ref }}
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- run: make publish-image
Expand Down

0 comments on commit 53ab7c3

Please sign in to comment.