update
This commit is contained in:
parent
6de68b3298
commit
6d46f48fb5
1 changed files with 3 additions and 1 deletions
|
@ -30,7 +30,9 @@ jobs:
|
||||||
|
|
||||||
- name: Get tags from GitLab repository
|
- name: Get tags from GitLab repository
|
||||||
id: get_tags
|
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
|
- name: Build and Push with Latest Tag
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
|
|
Loading…
Add table
Reference in a new issue