This commit is contained in:
parent
238517788f
commit
78336f5828
1 changed files with 3 additions and 2 deletions
|
|
@ -36,14 +36,15 @@ jobs:
|
|||
--password "${{ forge.token }}" \
|
||||
${{ 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.registry }}/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
|
||||
|
||||
- name: __DEBUG__
|
||||
run: |
|
||||
echo "~/.config/containers/auth.json"
|
||||
[ -f ~/.config/containers/auth.json ] && cat ~/.config/containers/auth.json || echo "file doesn't exist"
|
||||
|
||||
echo "\n/tmp/forgejo_token"
|
||||
echo "/tmp/forgejo_token"
|
||||
[ -f /tmp/forgejo_token ] && cat /tmp/forgejo_token || echo "file doesn't exist"
|
||||
|
||||
- name: Create image
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue