Update curl command to use --user flag for authentication
All checks were successful
Actions Build Docker Image / Explore-Gitea-Actions (push) Successful in 1m54s

This commit is contained in:
Alex Borisov 2024-01-29 20:43:55 +03:00
parent eff33da4e8
commit 39e5270d6f

View File

@ -34,4 +34,4 @@ jobs:
commit_date=$(git log -1 --format=%cd --date=format:'%Y%m%d%H%M%S')
- name: Upload Docker image to soaska.ru
run: |
curl -u ${{ secrets.username }}:${{ secrets.password }} -X POST -F "file=@sd_telegram.tar.gz" https://soaska.ru/packages/${{ package_name }}/versions/${{ commit_date }}/sd_telegram.tar.gz
curl --user ${{ secrets.username }}:${{ secrets.password }} --upload-file "file=@sd_telegram.tar.gz" https://soaska.ru/packages/${{ package_name }}/versions/${{ commit_date }}/sd_telegram.tar.gz