From 59303a23f35cab63cedaa7a3c9ea187d577cabf0 Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Wed, 7 Jan 2026 12:32:35 +0000 Subject: [PATCH] Update .gitea/workflows/actions.yaml --- .gitea/workflows/actions.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/actions.yaml b/.gitea/workflows/actions.yaml index 0f30514..5da55c1 100644 --- a/.gitea/workflows/actions.yaml +++ b/.gitea/workflows/actions.yaml @@ -24,9 +24,13 @@ jobs: } || { echo 'Release tag set correctly: ${{ steps.tag.outputs.version }}'; exit 0 } - - name: Compare tag with existing package version + - name: Lookup tag within existing package versions run: | - true + curl -X 'GET' \ + 'https://code.spamasaurus.com/api/v1/packages/djpbessems/container/filestash-enterprise' \ + -H 'accept: application/json' \ + -H 'Authorization: token ${{ secrets.GIT_APIKEY }}' | + jq -r 'any(.[].version; . == "${{ steps.tag.outputs.version }}")' build_container: name: Container image