Skip to content

Commit

Permalink
Update tagging of images
Browse files Browse the repository at this point in the history
  • Loading branch information
janekbaraniewski committed Apr 28, 2024
1 parent bca8f9f commit 3661e21
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,14 @@ jobs:
echo "Uploading $file"
curl -X POST \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Content-Type: application/octet-stream" \
-T "${file}" \
"${{ steps.create_release.outputs.upload_url }}?name=$(basename $file)&label=$(basename $file)"
-H "Content-Type: multipart/form-data" \
-F "file=@$file;type=$(file -b --mime-type $file)" \
-F "name=$(basename $file)" \
-F "label=$(basename $file)" \
"${{ steps.create_release.outputs.upload_url }}"
done
container-image:
runs-on: ubuntu-latest
strategy:
Expand Down

0 comments on commit 3661e21

Please sign in to comment.