diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 3ad27a6..f090fdc 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -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