Skip to content

Commit a1a0e31

Browse files
authored
fix(ci): When building the docker image, fetch the current tag for the vergen version (#1098)
1 parent f6b1e5b commit a1a0e31

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/docker.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ jobs:
3333
3434
- name: Git checkout
3535
uses: actions/checkout@v3
36+
37+
# This is needed so that we can get the current version with vergen
38+
- name: Fetch tag for current commit
39+
run: |
40+
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
3641
3742
- name: Login to Docker Hub
3843
uses: docker/login-action@v3

0 commit comments

Comments
 (0)