This commit is contained in:
parent
78336f5828
commit
4b28d90779
1 changed files with 4 additions and 2 deletions
|
|
@ -36,11 +36,13 @@ jobs:
|
||||||
--password "${{ forge.token }}" \
|
--password "${{ forge.token }}" \
|
||||||
${{ env.registry }}
|
${{ env.registry }}
|
||||||
|
|
||||||
# curl --fail -u${{ forge.actor }}:${{ forge.token }} -sS ${{ env.registry }}/v2/token | jq --raw-output '"Authorization: token \(.token)"' > /tmp/forgejo_token
|
# curl --fail -u ${{ forge.actor }}:${{ forge.token }} -sS ${{ env.server_url }}/v2/token | jq --raw-output '"Authorization: token \(.token)"' > /tmp/forgejo_token
|
||||||
curl --fail -u${{ forge.actor }}:${{ forge.token }} -sS ${{ env.registry }}/v2/token > /tmp/forgejo_token
|
curl --fail -u ${{ forge.actor }}:${{ forge.token }} -sS ${{ env.server_url }}/v2/token > /tmp/forgejo_token
|
||||||
|
|
||||||
- name: __DEBUG__
|
- name: __DEBUG__
|
||||||
run: |
|
run: |
|
||||||
|
echo "${{ forge.token }}"
|
||||||
|
|
||||||
echo "~/.config/containers/auth.json"
|
echo "~/.config/containers/auth.json"
|
||||||
[ -f ~/.config/containers/auth.json ] && cat ~/.config/containers/auth.json || echo "file doesn't exist"
|
[ -f ~/.config/containers/auth.json ] && cat ~/.config/containers/auth.json || echo "file doesn't exist"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue