Skip to content

Commit f0f9706

Browse files
Tag latest on versioned tag pushes
1 parent e429c00 commit f0f9706

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/build-prod-image.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ jobs:
1212
steps:
1313
- name: Checkout code
1414
uses: actions/checkout@v3
15+
with:
16+
fetch-depth: 0 # Needed to fetch all tags
17+
18+
- name: Update latest tag on Github
19+
run: |
20+
git tag -f latest
21+
git push origin latest
1522
1623
- name: Set up Docker Buildx
1724
uses: docker/setup-buildx-action@v2

0 commit comments

Comments
 (0)