mirror of
https://tvoygit.ru/Djam/r11_workflows.git
synced 2025-02-23 08:52:46 +00:00
fix deploy url
This commit is contained in:
parent
25ff1ab1e0
commit
f05ed4b8f9
1 changed files with 7 additions and 5 deletions
12
action.yml
12
action.yml
|
@ -354,17 +354,19 @@ runs:
|
|||
if: github.ref == 'refs/heads/rosa2016.1'
|
||||
run: |
|
||||
echo "Deploying src artifacts..."
|
||||
export REPOURL="http://135.181.14.149:8888"
|
||||
for file in /home/builder/rpmbuild/SRPMS/*.rpm; do
|
||||
curl -X POST http://135.181.14.149:8080/src/ \
|
||||
curl -X POST $REPOURL/src/ \
|
||||
-H "Authorization: Bearer ${{ inputs.REPO_DEPLOY }}" \
|
||||
-F "file=@$file"
|
||||
done
|
||||
|
||||
declare -A arch_urls=(
|
||||
["x86_64"]="http://135.181.14.149:8080/x86_64/"
|
||||
["noarch"]="http://135.181.14.149:8080/noarch/"
|
||||
["aarch64"]="http://135.181.14.149:8080/aarch64/"
|
||||
["riscv64"]="http://135.181.14.149:8080/riscv64/"
|
||||
["x86_64"]="$REPOURL/x86_64/"
|
||||
["noarch"]="$REPOURL/noarch/"
|
||||
["aarch64"]="$REPOURL/aarch64/"
|
||||
["riscv64"]="$REPOURL/riscv64/"
|
||||
["i386"]="$REPOURL/i386"
|
||||
)
|
||||
|
||||
for arch in "${!arch_urls[@]}"; do
|
||||
|
|
Loading…
Add table
Reference in a new issue