Update .gitea/workflows/actions.yaml
Some checks failed
build-image / Parse tag from upstream metadata (push) Successful in 2s
build-image / Container image (push) Failing after 13s
build-image / Semantic Release (push) Has been skipped

This commit is contained in:
2026-01-07 12:50:17 +00:00
parent 59303a23f3
commit 00e82dba9f

View File

@@ -26,11 +26,17 @@ jobs:
}
- name: Lookup tag within existing package versions
run: |
curl -X 'GET' \
RELEASE_EXISTS=$(curl -s -L '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 }}")'
-H 'Authorization: token ${{ secrets.GIT_APIKEY }}' | \
jq -r 'any(.[].version; . == "${{ steps.tag.outputs.version }}")')
[[ "$RELEASE_EXISTS" == "true" ]] && {
echo "Version already exists. Skipping build..."; exit 1
} || {
echo "Version is new. Proceeding..."; exit 0
}
build_container:
name: Container image