Skip to content

Commit

Permalink
fixup asset mod
Browse files Browse the repository at this point in the history
Former-commit-id: ef6275a9017ef31d0ccb9ff6c239d013dcdc2823
  • Loading branch information
greyltc authored Jan 14, 2022
1 parent f26a2e4 commit d980f2b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build_container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,15 +202,13 @@ jobs:
cat asset_resp.json | jq --raw-output '.'
ASSET_URL=$(cat asset_resp.json | jq --raw-output '.url')
# update asset name=$(basename ${ASSET_FILE})
# update asset
curl --silent \
--request PATCH \
--url "${ASSET_URL}" \
--header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
--header "Accept: application/vnd.github.v3+json" \
--data-urlencode "name=$(basename ${ASSET_FILE})" \
--data-urlencode "label=x86_64 Docker Build Context" \
--output asset_update.json
cat asset_update.json | jq --raw-output '.'

0 comments on commit d980f2b

Please sign in to comment.