Update .gitea/workflows/actions.yaml
This commit is contained in:
@@ -24,9 +24,13 @@ jobs:
|
|||||||
} || {
|
} || {
|
||||||
echo 'Release tag set correctly: ${{ steps.tag.outputs.version }}'; exit 0
|
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: |
|
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:
|
build_container:
|
||||||
name: Container image
|
name: Container image
|
||||||
|
|||||||
Reference in New Issue
Block a user