add debugging
Some checks failed
Create OCI image(s) / Build and push images (push) Has been cancelled
Some checks failed
Create OCI image(s) / Build and push images (push) Has been cancelled
This commit is contained in:
parent
ae6f0a6065
commit
34a9308bf2
1 changed files with 4 additions and 1 deletions
|
|
@ -36,12 +36,15 @@ 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)"'
|
curl --fail -u${{ forge.actor }}:${{ forge.token }} -sS ${{ env.registry }}/v2/token | jq --raw-output '"Authorization: token \(.token)"' > /tmp/forgejo_token
|
||||||
|
|
||||||
- name: __DEBUG__
|
- name: __DEBUG__
|
||||||
run: |
|
run: |
|
||||||
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"
|
||||||
|
|
||||||
|
echo "/tmp/forgejo_token"
|
||||||
|
[ -f /tmp/forgejo_token ] && cat /tmp/forgejo_token || echo "file doesn't exist"
|
||||||
|
|
||||||
- name: Create image
|
- name: Create image
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue