This commit is contained in:
brooke 2025-03-08 18:59:39 -05:00
parent 6de68b3298
commit 6d46f48fb5

View file

@ -30,7 +30,9 @@ jobs:
- name: Get tags from GitLab repository
id: get_tags
run: latest_tag=$(curl -s https://framagit.org/api/v4/projects/74246/repository/tags | grep -o -E 'v[0-9]+\.[0-9]+\.[0-9]+' | head -n 1) && echo "Latest version is: $latest_tag"
run: |
latest_tag=$(curl -s https://framagit.org/api/v4/projects/74246/repository/tags | grep -o -E 'v[0-9]+\.[0-9]+\.[0-9]+' | head -n 1)
echo "Latest version is $latest_tag"
- name: Build and Push with Latest Tag
uses: docker/build-push-action@v4