Skip to content

Commit 643c68c

Browse files
committed
Fix for running workflow on push with tags
1 parent 4029139 commit 643c68c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/build-and-push.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ jobs:
1818
- name: Checkout code
1919
uses: actions/checkout@v4
2020
with:
21-
fetch-tags: true
21+
ref: ${{ github.ref }}
22+
fetch-depth: 0
2223

2324
- name: Log in to the Container registry
2425
uses: docker/login-action@v3

0 commit comments

Comments
 (0)