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