mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-08 14:22:40 +01:00
@@ -59,7 +59,7 @@ main(){
|
|||||||
filename=$(basename "$file")
|
filename=$(basename "$file")
|
||||||
rp=$(realpath "$file")
|
rp=$(realpath "$file")
|
||||||
|
|
||||||
curl -XPOST -sSL -H "${AUTH_HEADER}" \
|
curl -sSL -H "${AUTH_HEADER}" \
|
||||||
--data-binary @"$rp" \
|
--data-binary @"$rp" \
|
||||||
-H "Content-Type: application/octet-stream" \
|
-H "Content-Type: application/octet-stream" \
|
||||||
"https://uploads.github.com/repos/${GITHUB_REPOSITORY}/releases/${release_id}/assets?name=${filename}&access_token=${GITHUB_TOKEN}"
|
"https://uploads.github.com/repos/${GITHUB_REPOSITORY}/releases/${release_id}/assets?name=${filename}&access_token=${GITHUB_TOKEN}"
|
||||||
|
|||||||
Reference in New Issue
Block a user