debug this shizz
Some checks failed
Create OCI image(s) / Build and push images (push) Failing after 1m50s
Some checks failed
Create OCI image(s) / Build and push images (push) Failing after 1m50s
This commit is contained in:
parent
b9adc4b113
commit
9148cf507e
1 changed files with 13 additions and 7 deletions
|
|
@ -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 }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue