conclude la sistemazione della pipeline gitea
All checks were successful
Build and Publish / build (push) Successful in 3m1s

This commit is contained in:
2026-01-30 11:06:24 +01:00
parent c14436e207
commit f61e9b512c

View File

@@ -34,15 +34,3 @@ jobs:
docker push ${{ env.IMAGE_NAME }}:${{ github.ref_name }} docker push ${{ env.IMAGE_NAME }}:${{ github.ref_name }}
docker push ${{ env.IMAGE_NAME }}:latest docker push ${{ env.IMAGE_NAME }}:latest
echo "Docker image pushed successfully!" echo "Docker image pushed successfully!"
- name: Upload to Gitea Package Registry
run: |
VERSION="${GITHUB_REF_NAME:-main}"
REPO_NAME="${{ github.event.repository.name }}"
curl -X PUT \
-H "Authorization: token ${{ secrets.AUTHTOKEN }}" \
-T build-artifact.tar.gz \
"${{ github.server_url }}/api/v1/repos/${{ github.repository }}/packages/generic/${REPO_NAME}/${VERSION}/build-artifact.tar.gz"
echo "Artifact uploaded to Package Registry!"
echo "Download at: ${{ github.server_url }}/${{ github.repository }}/-/packages"