conclude la sistemazione della pipeline gitea
All checks were successful
Build and Publish / build (push) Successful in 3m1s
All checks were successful
Build and Publish / build (push) Successful in 3m1s
This commit is contained in:
@@ -34,15 +34,3 @@ jobs:
|
||||
docker push ${{ env.IMAGE_NAME }}:${{ github.ref_name }}
|
||||
docker push ${{ env.IMAGE_NAME }}:latest
|
||||
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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user