debug this shizz
Some checks failed
Create OCI image(s) / Build and push images (push) Failing after 1m50s

This commit is contained in:
Chris Kruining 2025-09-08 11:34:30 +02:00
parent b9adc4b113
commit 9148cf507e
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2

View file

@ -32,22 +32,28 @@ jobs:
echo '{ "default": [ {"type":"insecureAcceptAnything"} ] }' > ~/.config/containers/policy.json
- name: Log into registry
run: |
podman login --authfile ~/.config/containers/auth.json --username "${{ forge.actor }}" --password "${{ forge.token }}" ${{ env.registry }}
- name: __DEBUG__
run: |
echo "~/.config/containers/auth.json"
[ -f ~/.config/containers/auth.json ] && cat ~/.config/containers/auth.json || echo "file doesn't exist"
run: >-
podman login
--log-level=debug
--authfile ~/.config/containers/auth.json
--username "${{ forge.actor }}"
--password "${{ forge.token }}"
${{ env.registry }}
- name: Create image
run: |
nix-build src/default.nix
podman load < result
- name: __DEBUG__
run: |
echo "~/.config/containers/auth.json"
[ -f ~/.config/containers/auth.json ] && cat ~/.config/containers/auth.json || echo "file doesn't exist"
- name: Push image
run: >-
podman push
--log-level=debug
--authfile ~/.config/containers/auth.json
localhost/default:latest
${{ env.registry }}/${{ env.owner }}/${{ env.image }}:${{ env.tag }}