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,13 +36,16 @@ jobs:
|
|||
--password "${{ forge.token }}" \
|
||||
${{ 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__
|
||||
run: |
|
||||
echo "~/.config/containers/auth.json"
|
||||
[ -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
|
||||
run: |
|
||||
nix-build src/default.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue